Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Get Azure VM and VM Scale Set recommendations based on workload, performance, and budget needs.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
workflows/essential-machine-management/references/emm-prerequisites.md
1# EMM Prerequisites23Requirements that must be met before enabling Essential Machine Management.45## Required Azure Resources67| Resource | Purpose |8| -------- | ------- |9| Log Analytics workspace | Collects log data from Change Tracking & Inventory |10| Azure Monitor workspace | Collects metrics data from VM Insights |11| User-assigned managed identity (UAMI) | Used to onboard and configure VMs in the subscription |1213## Required User Roles1415The user performing the enrollment must have these roles on the target subscription:1617| Role | Description |18| ---- | ----------- |19| Essential Machine Management Administrator | Manages EMM resources, DCRs, monitor/workspace operations, security pricing |20| Managed Identity Operator | Reads and assigns user-assigned identities |21| Resource Policy Contributor | Creates/modifies resource policies, policy assignments, and exemptions |2223### Cross-Subscription Workspace Scenario2425If the Log Analytics or Azure Monitor workspace is in a **different subscription**:26- The user must also have **Essential Machine Management Administrator** on the resource group of the workspace27- The `Microsoft.ManagedOps` RP must be registered in the workspace subscription2829## Required Managed Identity Roles3031The user-assigned managed identity must have:3233| Role | Scope |34| ---- | ----- |35| Contributor | Target subscription being enabled |3637If workspaces are in a different subscription:38- **Contributor** on the resource group of the Log Analytics workspace and/or Azure Monitor workspace3940## EMM Administrator Permissions Detail4142The Essential Machine Management Administrator role includes these actions:4344```text45Microsoft.Resources/deployments/*46Microsoft.Insights/dataCollectionRules/read47Microsoft.Insights/dataCollectionRules/write48Microsoft.Monitor/accounts/write49Microsoft.Monitor/accounts/read50Microsoft.ManagedOps/managedOps/read51Microsoft.ManagedOps/managedOps/write52Microsoft.ManagedOps/managedOps/delete53Microsoft.OperationsManagement/solutions/read54Microsoft.OperationsManagement/solutions/write55Microsoft.OperationalInsights/workspaces/read56Microsoft.OperationalInsights/workspaces/sharedkeys/action57Microsoft.OperationalInsights/workspaces/sharedkeys/read58Microsoft.OperationalInsights/workspaces/listKeys/action59Microsoft.Resources/subscriptions/resourceGroups/read60Microsoft.Insights/metricAlerts/write61Microsoft.Insights/metricAlerts/read62Microsoft.Security/pricings/write63Microsoft.Security/pricings/read64```6566## Resource Provider Registrations6768The following RPs are registered automatically during the enable flow:6970| Resource Provider | Purpose |71| ----------------- | ------- |72| `Microsoft.ManagedOps` | Core EMM resource provider |73| `Microsoft.OperationsManagement` | Operations management solutions |74| `Microsoft.PolicyInsights` | Policy compliance and remediation |75| `Microsoft.Insights` | Monitoring and data collection rules |76| `Microsoft.OperationalInsights` | Log Analytics workspaces |77| `Microsoft.Monitor` | Azure Monitor workspaces |78| `Microsoft.ManagedIdentity` | Managed identity operations |79| `Microsoft.Security` | Defender for Cloud and CSPM |80| `Microsoft.Resources` | ARM deployments |8182## Validation Checklist8384Before enabling EMM, verify:8586- [ ] User has all 3 required roles on the subscription87- [ ] UAMI exists and has Contributor on the subscription88- [ ] Log Analytics workspace exists (or will be created)89- [ ] Azure Monitor workspace exists (or will be created)90- [ ] If cross-subscription workspaces: additional roles and RP registrations in place91