|
1 | 1 | --- |
2 | | -title: Metrics checkbox disabled when enabling metrics collection for Dynatrace |
3 | | -description: "Resolve the issue where the metrics collection checkbox is disabled because the user lacks Owner permissions on the subscription." |
4 | | -author: v-albemi |
5 | | -ms.author: v-albemi |
6 | | -ms.service: Dynatrace integration |
| 2 | +title: Metrics Collection Checkbox for Dynatrace Is Disabled |
| 3 | +description: Resolve the issue in which the metrics collection checkbox is disabled because the user lacks Owner permissions on the subscription. |
| 4 | +author: |
| 5 | +ms.author: jarrettr |
| 6 | +ms.service: partner-services |
7 | 7 | ms.topic: troubleshooting-problem-resolution |
8 | 8 | ms.date: 09/22/2025 |
| 9 | +ai-usage: ai-assisted |
9 | 10 |
|
10 | | -customer intent: As a {role}, I want {what} so that {why}. |
| 11 | +# customer intent: As an Azure administrator or user, I want to enable the Metrics checkbox so that I can enable metrics collection for Dynatrace. |
11 | 12 |
|
12 | 13 | --- |
13 | 14 |
|
14 | | -# Metrics checkbox disabled when enabling metrics collection |
| 15 | +# Metrics collection checkbox is disabled |
15 | 16 |
|
16 | | -This article helps you resolve the specific problem where the metrics collection checkbox is disabled (greyed out) in the Dynatrace integration because the signed-in account doesn't have Owner permissions on the Azure subscription. |
17 | | - |
18 | | -Use this article when you cannot enable metrics collection in the Dynatrace integration and the UI control is disabled. |
| 17 | +This article helps you resolve the problem in which the **Enable metrics collection** checkbox is unavailable in your Dynatrace integration because the signed-in account doesn't have Owner permissions on the Azure subscription. |
19 | 18 |
|
20 | 19 | ## Prerequisites |
21 | 20 |
|
22 | | -- Access to the Azure portal and the subscription that contains the resources. |
23 | | -- The account name or principal ID of the user attempting the operation. |
24 | | -- Permissions to request role changes from a subscription Owner or to assign roles if you have the appropriate rights. |
| 21 | +- Access to the Azure portal and the subscription that contains the resource. |
25 | 22 |
|
26 | 23 | ## Symptoms |
27 | 24 |
|
28 | | -- The metrics collection checkbox is disabled (greyed out) in the Dynatrace integration UI. |
| 25 | +- The **Enable metrics collection** checkbox is unavailable (dimmed) in the Dynatrace integration UI. |
29 | 26 | - Attempting to enable metrics collection results in an error or no action. |
30 | 27 |
|
31 | 28 | ## Cause |
32 | 29 |
|
33 | | -Enabling metrics collection requires Owner permissions at the subscription scope. Users with Contributor or Reader roles cannot enable metrics collection from the integration UI; the checkbox remains disabled. |
34 | | - |
35 | | -## Solution 1: Verify your role and request Owner permission |
36 | | - |
37 | | -1. In the Azure portal, open the subscription that contains the resources. |
38 | | -2. Select Access control (IAM) from the left pane. |
39 | | -3. Select View my access to see your effective role at the subscription scope. |
40 | | -4. If you are not Owner, contact the subscription Owner or administrator and request Owner permissions, or ask them to enable metrics collection for you. |
41 | | -5. After the Owner assigns the role, wait 5–15 minutes for RBAC propagation and then retry enabling metrics collection in the Dynatrace integration. |
42 | | - |
43 | | -## Solution 2: Verify role using CLI or PowerShell |
44 | | - |
45 | | -- Azure CLI example (shows role assignments for the signed-in principal at subscription scope): |
46 | | - |
47 | | - az role assignment list --assignee {principal-id} --scope "/subscriptions/{subscription-id}" --output table |
48 | | - |
49 | | -- PowerShell example (Az module): |
50 | | - |
51 | | - Get-AzRoleAssignment -ObjectId {principal-id} -Scope "/subscriptions/{subscription-id}" |
52 | | - |
53 | | -If the assignment is missing or you have a Contributor role, request the Owner role or have an existing Owner perform the action. |
54 | | - |
55 | | -## Determine the cause if you have Owner permissions |
56 | | - |
57 | | -If you already have Owner permissions and the checkbox is still disabled, check the following: |
58 | | - |
59 | | -- Sign-in context: confirm you're signed in with the correct account; sign out and sign in again. |
60 | | -- Portal caching: try an incognito/private browser session or clear the browser cache. |
61 | | -- Extension or integration scope: verify the integration is targeting the correct subscription and that any required resource provider registrations exist. |
| 30 | +Enabling metrics collection requires Owner permissions at the subscription scope. Users with Contributor or Reader roles can't enable metrics collection from the integration UI. The checkbox is unavaible (dimmed). |
62 | 31 |
|
63 | | -## Verify |
| 32 | +## Solution: Request Owner permission |
64 | 33 |
|
65 | | -- After Owner role is assigned and RBAC propagates, the metrics collection checkbox should become enabled. |
66 | | -- Enable the checkbox and confirm metrics appear in Dynatrace for the selected resources within expected ingestion time. |
| 34 | +1. In the Azure portal, go to the subscription that contains the resource. |
| 35 | +2. Select **Access control (IAM)** in the left pane. |
| 36 | +3. Select **View my access** to see your current role at the subscription scope. |
| 37 | +4. If don't have Owner permissions, contact the subscription Owner or administrator and request Owner permissions, or ask them to enable metrics collection for you. |
| 38 | +5. After the Owner assigns the role, wait 5–15 minutes for RBAC propagation, and then retry enabling metrics collection in the Dynatrace integration. |
67 | 39 |
|
68 | 40 | ## Related content |
69 | 41 |
|
70 | | -- [Azure role-based access control (RBAC)](https://learn.microsoft.com/azure/role-based-access-control/) |
71 | | -- [Assign Azure roles using the Azure CLI](https://learn.microsoft.com/azure/role-based-access-control/role-assignments-cli) |
72 | | -- [Configure metrics and logs](https://learn.microsoft.com/azure/monitoring/monitoring-configure-metrics-logs) |
| 42 | +- [Azure role-based access control (RBAC)](/azure/role-based-access-control/) |
| 43 | +- [Assign Azure roles using the Azure CLI](/azure/role-based-access-control/role-assignments-cli) |
| 44 | + |
0 commit comments