Deploy Enhanced Inventory Azure Resources¶
This step uses a one-click Azure deployment to create all the infrastructure needed for Enhanced Inventory. The ARM template sets up (or reuses) a Log Analytics Workspace, configures custom tables, and creates the Data Collection Endpoint (DCE) and Data Collection Rule (DCR).
Prefer to watch a walkthrough first?
The interactive demo below is an optional supplement to the written steps on this page — not a replacement. The written instructions remain the canonical source of truth.
Walkthrough: Deploy Enhanced Inventory (Azure Monitor)
What the deployment creates¶
- Log Analytics Workspace (new or existing)
- Custom Log Analytics tables:
PowerStacksDeviceInventory_CLPowerStacksAppInventory_CLPowerStacksDriverInventory_CL
- Data Collection Endpoint (DCE)
- Data Collection Rule (DCR)
- Automatic RBAC assignment (if Enterprise App Object ID is provided)
Step 1: Deploy to Azure¶
Click the button below to deploy the required Azure resources:
During deployment you will be prompted for:
- Workspace selection — create a new Log Analytics workspace or use an existing one
- Workspace details — if using an existing workspace, provide the subscription ID, resource group name, and workspace name
- Enterprise App Object Id — paste the Object ID from the previous step (Create Entra Application)
Using an existing workspace
If you also use Windows Update for Business Reports or already have a Log Analytics workspace for BI for Intune, you can reuse it. Select Use an existing workspace and provide the workspace details. The new custom tables will be created alongside your existing data.
Step 2: Automatic RBAC assignment¶
If the Enterprise Application Object ID was provided during deployment, the template automatically assigns the Monitoring Metrics Publisher role to the service principal on the Data Collection Rule (DCR). No manual permission steps are required.
If you left the field blank, you must manually assign the role:
- Navigate to the deployed Data Collection Rule in the Azure Portal.
- Go to Access control (IAM) > Add role assignment.
- Select Monitoring Metrics Publisher.
- Assign it to the Enterprise Application you created earlier.
Step 3: Capture deployment outputs¶
After deployment completes:
- Go to the deployment in the Azure Portal (Resource Group > Deployments).
- Click on the deployment name.
- Select the Outputs tab.
- Record the following values:
| Output | Description | Used by |
|---|---|---|
| DceURI | Data Collection Endpoint ingestion URI | Inventory scripts |
| DcrImmutableId | Data Collection Rule immutable identifier | Inventory scripts |
Next step¶
Configure Windows Inventory Script — update the inventory scripts with your credentials and deployment outputs, then deploy via Intune.