|
1 | 1 | ---
|
2 | 2 | title: Roles and permissions
|
3 |
| -description: Learn about Advisor permissions and how they might block your ability to configure subscriptions or postpone or dismiss recommendations. |
| 3 | +description: Learn about Advisor permissions, how to manage access to Advisor recommendations and reviews. |
4 | 4 | ms.topic: article
|
5 |
| -ms.date: 05/03/2024 |
| 5 | +ms.date: 08/22/2024 |
6 | 6 | ---
|
7 | 7 |
|
8 | 8 | # Roles and permissions
|
9 | 9 |
|
10 |
| -Azure Advisor provides recommendations based on the usage and configuration of your Azure resources and subscriptions. Advisor uses the [built-in roles](../role-based-access-control/built-in-roles.md) provided by [Azure role-based access control (Azure RBAC)](../role-based-access-control/overview.md) to manage your access to recommendations and Advisor features. |
| 10 | +Learn how to manage access to recommendations and reviews for your organization. |
11 | 11 |
|
12 |
| -## Roles and their access |
| 12 | +## Roles and associated access |
13 | 13 |
|
14 |
| -The following table defines the roles and the access they have within Advisor. |
| 14 | +Advisor uses the built-in roles provided by Azure role-based access control (Azure RBAC). |
15 | 15 |
|
16 |
| -| Role | View recommendations | Edit rules | Edit subscription configuration | Edit resource group configuration| Dismiss and postpone recommendations| |
17 |
| -|---|:---:|:---:|:---:|:---:|:---:| |
18 |
| -|Subscription Owner|**X**|**X**|**X**|**X**|**X**| |
19 |
| -|Subscription Contributor|**X**|**X**|**X**|**X**|**X**| |
20 |
| -|Subscription Reader|**X**|--|--|--|--| |
21 |
| -|Resource group Owner|**X**|--|--|**X**|**X**| |
22 |
| -|Resource group Contributor|**X**|--|--|**X**|**X**| |
23 |
| -|Resource group Reader|**X**|--|--|--|--| |
24 |
| -|Resource Owner|**X**|--|--|--|**X**| |
25 |
| -|Resource Contributor|**X**|--|--|--|**X**| |
26 |
| -|Resource Reader|**X**|--|--|--|--| |
| 16 | +Review the following section to learn more about each role and the associated access. |
| 17 | + |
| 18 | +### Roles to view, dismiss, and postpone recommendations |
| 19 | + |
| 20 | +| Role | View recommendations | Dismiss and postpone recommendations | |
| 21 | +|:---|:--- |:--- | |
| 22 | +| Subscription Reader | X | | |
| 23 | +| Subscription Contributor | X | X | |
| 24 | +| Subscription Owner | X | X | |
| 25 | +| Resource group Reader | X | | |
| 26 | +| Resource group Contributor | X | X | |
| 27 | +| Resource group Owner | X | X | |
| 28 | +| Resource Reader | X | | |
| 29 | +| Resource Contributor | X | X | |
| 30 | +| Resource Owner | X | X | |
| 31 | + |
| 32 | +### Roles to edit rules and configurations |
| 33 | + |
| 34 | +| Role | Edit rules | Edit subscription configuration | Edit resource group configuration | |
| 35 | +|:---|:--- |:--- |:--- | |
| 36 | +| Subscription Contributor | X | X | X | |
| 37 | +| Subscription Owner | X | X | X | |
| 38 | +| Resource group Contributor | | | X | |
| 39 | +| Resource group Owner | | | X | |
| 40 | + |
| 41 | +> [!NOTE] |
| 42 | +> You must have access to the resource associated with the recommendation to view a recommendation. |
| 43 | +
|
| 44 | +To learn more about built-in roles, see [Azure built-in roles](/azure/role-based-access-control/built-in-roles "Azure built-in roles | Azure RBAC | Microsoft Learn"). To learn more about Azure role-based access control (Azure RBAC), see [What is Azure role-based access control (Azure RBAC)?](/azure/role-based-access-control/overview "What is Azure role-based access control (Azure RBAC)? | Azure RBAC | Microsoft Learn"). |
| 45 | + |
| 46 | +[!INCLUDE [View and manage assessments](./includes/advisor-permissions-review-recommendations.md)] |
| 47 | + |
| 48 | +[!INCLUDE [Reviews and personalized recommendations](./includes/advisor-permissions-waf-assessments.md)] |
| 49 | + |
| 50 | +## Available actions to build custom roles |
| 51 | + |
| 52 | +If your organization requires roles that don't match the Azure built-in roles, create your own custom role. A custom role works like a built-in role and allow you to assign it to users, groups, and service principals at management group, subscription, and resource group scopes. Use the following actions to create your custom role. |
| 53 | + |
| 54 | +| Action | Details | |
| 55 | +|:--- |:--- | |
| 56 | +| `Microsoft.Advisor/generateRecommendations/action` | Create a Recommendation. | |
| 57 | +| `Microsoft.Advisor/register/action` | Register with the Provider. | |
| 58 | +| `Microsoft.Advisor/unregister/action` | Unregister with the Provider. | |
| 59 | +| `Microsoft.Advisor/advisorScore/read` | Gets Advisor score. | |
| 60 | +| `Microsoft.Advisor/configurations/read` | Read Configurations. | |
| 61 | +| `Microsoft.Advisor/configurations/write` | Create or update Configuration. | |
| 62 | +| `Microsoft.Advisor/generateRecommendations/read` | Get status of `generateRecommendations` action. | |
| 63 | +| `Microsoft.Advisor/metadata/read` | Read Metadata. | |
| 64 | +| `Microsoft.Advisor/operations/read` | Get operations. | |
| 65 | +| `Microsoft.Advisor/recommendations/read` | Read recommendations. | |
| 66 | +| `Microsoft.Advisor/recommendations/write` | Create recommendations. | |
| 67 | +| `Microsoft.Advisor/recommendations/available/action` | New recommendation is available. | |
| 68 | +| `Microsoft.Advisor/recommendations/suppressions/read` | Read Suppressions. | |
| 69 | +| `Microsoft.Advisor/recommendations/suppressions/write` | Create or update Suppressions. | |
| 70 | +| `Microsoft.Advisor/recommendations/suppressions/delete` | Delete Suppression. | |
| 71 | +| `Microsoft.Advisor/suppressions/read` | Read Suppressions. | |
| 72 | +| `Microsoft.Advisor/suppressions/write` | Create or update Suppressions. | |
| 73 | +| `Microsoft.Advisor/suppressions/delete` | Delete Suppression. | |
| 74 | +| `Microsoft.Advisor/assessmentTypes/read` | Reads `AssessmentTypes`. | |
| 75 | +| `Microsoft.Advisor/assessments/read` | Reads Assessments. | |
| 76 | +| `Microsoft.Advisor/assessments/write` | Create Assessments. | |
| 77 | +| `Microsoft.Advisor/resiliencyReviews/read` | Reads `resiliencyReviews`. | |
| 78 | +| `Microsoft.Advisor/triageRecommendations/read` | Reads `triageRecommendations`. | |
| 79 | +| `Microsoft.Advisor/triageRecommendations/approve/action` | Approves `triageRecommendations`. | |
| 80 | +| `Microsoft.Advisor/triageRecommendations/reject/action` | Rejects `triageRecommendations`. | |
| 81 | +| `Microsoft.Advisor/triageRecommendations/reset/action` | Resets `triageRecommendations`. | |
| 82 | +| `Microsoft.Advisor/workloads/read` | Reads workloads. | |
27 | 83 |
|
28 | 84 | > [!NOTE]
|
29 |
| -> Access to view recommendations is dependent on your access to the recommendation's impacted resource. |
| 85 | +> For example, you must have a sufficient permission level for a virtual machine (VM) to view recommendations associated with the VM. |
| 86 | +
|
| 87 | +To learn more about custom roles, see [Azure custom roles](/azure/role-based-access-control/custom-roles "Azure custom roles | Azure RBAC | Microsoft Learn"). |
30 | 88 |
|
31 | 89 | ## Permissions and unavailable actions
|
32 | 90 |
|
33 |
| -Lack of proper permissions can block your ability to perform actions in Advisor. You might encounter the following common problems. |
| 91 | +If your permission level is too low, your access to the associated action is blocked. Review common problems in the following section. |
| 92 | + |
| 93 | +### Configure subscription or resource group is blocked |
34 | 94 |
|
35 |
| -### Unable to configure subscriptions or resource groups |
| 95 | +When you try to configure a subscription or resource group, the option to include or exclude is blocked. The blocked status indicates that your permission level for that resource group or subscription is insufficient. To learn how to change your permission level, see [Tutorial: Grant a user access to Azure resources using the Azure portal](/azure/role-based-access-control/quickstart-assign-role-user-portal "Tutorial: Grant a user access to Azure resources using the Azure portal | Azure RBAC | Microsoft Learn"). |
36 | 96 |
|
37 |
| -When you attempt to configure subscriptions or resource groups in Advisor, you might see that the option to include or exclude is disabled. This status indicates that you don't have a sufficient level of permission for that resource group or subscription. To resolve this problem, learn how to [grant a user access](../role-based-access-control/quickstart-assign-role-user-portal.md). |
| 97 | +### Postpone or dismiss is allowed, but sends an error |
38 | 98 |
|
39 |
| -### Unable to postpone or dismiss a recommendation |
| 99 | +When you try to postpone or dismiss a recommendation, you receive an error. The error indicates that your permission level is insufficient. You must have a sufficient permission level to dismiss recommendations. |
40 | 100 |
|
41 |
| -If you receive an error when you try to postpone or dismiss a recommendation, you might not have sufficient permissions. Dismissing a recommendation means you can't see it again unless it's manually reactivated, so you might potentially overlook important advice for optimizing Azure deployments. It's crucial that only users with sufficient permissions can dismiss recommendations. Make sure that you have at least Contributor access to the affected resource of the recommendation that you want to postpone or dismiss. To resolve this problem, learn how to [grant a user access](../role-based-access-control/quickstart-assign-role-user-portal.md). |
| 101 | +> [!TIP] |
| 102 | +> After you dismiss a recommendation, you must manually reactivate it before it is added in your list of recommendations. If you dismiss a recommendation, you may miss important advice that optimizes your Azure deployment. |
| 103 | +
|
| 104 | +To postpone or dismiss a recommendation, verify that your permission level for the resource associated with the recommendation is set to Contributor or better. To learn how to change your permission level, see [Tutorial: Grant a user access to Azure resources using the Azure portal](/azure/role-based-access-control/quickstart-assign-role-user-portal "Tutorial: Grant a user access to Azure resources using the Azure portal | Azure RBAC | Microsoft Learn"). |
42 | 105 |
|
43 | 106 | ## Related content
|
44 | 107 |
|
45 |
| -This article gave an overview of how Advisor uses Azure RBAC to control user permissions and how to resolve common problems. To learn more about Advisor, see: |
| 108 | +This article provided an overview of how Advisor uses Azure role-based access control (Azure RBAC) to control user permissions and how to resolve common problems. To learn more about Advisor, see the following articles. |
| 109 | + |
| 110 | +* [Introduction to Azure Advisor](./advisor-overview.md "Introduction to Azure Advisor | Azure Advisor | Microsoft Learn") |
46 | 111 |
|
47 |
| -- [What is Azure Advisor?](./advisor-overview.md) |
48 |
| -- [Get started with Azure Advisor](./advisor-get-started.md) |
| 112 | +* [Azure Advisor portal basics](./advisor-get-started.md "Azure Advisor portal basics | Azure Advisor | Microsoft Learn") |
0 commit comments