Skip to content

Commit 1b47736

Browse files
authored
Merge pull request #273937 from nwokolo/patch-20
Rewrite
2 parents 1dd2818 + 38cede5 commit 1b47736

File tree

2 files changed

+86
-66
lines changed

2 files changed

+86
-66
lines changed

articles/cost-management-billing/savings-plan/manage-savings-plan.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To update auto-renewal setting as a billing administrator:
6262
3. Select the desired savings plan.
6363
4. Select **Settings** > **Renewal**.
6464

65-
If you purchased a savings plan, have been added to a savings plan, or have been assigned a one or more savings plan RBAC roles, use the following steps to update auto-renewal setting:
65+
If you purchased a savings plan, have been added to a savings plan, or have been assigned one or more savings plan RBAC roles, use the following steps to update auto-renewal setting:
6666
1. Sign in to the Azure portal.
6767
2. Select All Services > Savings plans to list savings plans that you have access to.
6868
3. Select the desired savings plan.
@@ -79,7 +79,7 @@ If you're a billing administrator, use following steps to view and manage all sa
7979
3. Select the desired savings plan.
8080
4. To rename the savings plan, click "Rename". To view payment history or upcoming payments, click the link to the right of "Billing frequency".
8181

82-
If you purchased a savings plan, have been added to a savings plan, or have been assigned a one or more savings plan RBAC roles, use the following steps to view savings plan details and utilization:
82+
If you purchased a savings plan, have been added to a savings plan, or have been assigned one or more savings plan RBAC roles, use the following steps to view savings plan details and utilization:
8383
1. Sign in to the Azure portal.
8484
2. Select All Services > Savings plans to list savings plans that you have access to.
8585
3. Select the desired savings plan.
@@ -105,9 +105,9 @@ To delegate the Administrator, Contributor, or Reader role to a specific savings
105105
### Delegate Savings plan Administrator, Contributor or Reader role to all savings plans
106106
[User Access Administrator](../../role-based-access-control/built-in-roles.md#user-access-administrator) rights are required to grant RBAC roles at the tenant level. To get User Access Administrator rights, follow [Elevate access steps](../../role-based-access-control/elevate-access-global-admin.md).
107107

108-
### To delegate the administrator, contributor, or reader role to all savings plans in a tenant
109-
1. Navigate to **Home** > **Savings plans**
110-
2. Click **Role assignment** from the top navigation bar
108+
After you have elevated access:
109+
1. Navigate to **Home** > **Savings plans** to see all savings plans that are in the tenant.
110+
2. To make modifications to the savings plan, add yourself as an owner of the savings plan order using Access control (IAM).
111111

112112

113113
## Cancel, exchange, or refund

articles/cost-management-billing/savings-plan/permission-view-manage.md

Lines changed: 81 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,36 @@ ms.author: banders
1515
This article explains how savings plan permissions work and how users can view and manage Azure savings plans in the Azure portal.
1616

1717
## Who can manage a savings plan by default
18-
By default, the following users can view and manage savings plans:
19-
- The person who buys a savings plan and the account administrator of the billing subscription used to buy the savings plan are added to the savings plan order.
20-
- Enterprise Agreement and Microsoft Customer Agreement billing administrators.
21-
- Users with elevated access to manage all Azure subscriptions and management groups.
22-
- A Savings plan administrator for savings plans in their Microsoft Entra tenant (directory)
23-
- A Savings plan reader has read-only access to savings plans in their Microsoft Entra tenant (directory)
24-
25-
The savings plan lifecycle is independent of an Azure subscription, so the savings plan isn't a resource under the Azure subscription. Instead, it's a tenant-level resource with its own Azure role-based access control (RBAC_ permission separate from subscriptions. Savings plans don't inherit permissions from subscriptions after the purchase.
26-
27-
## View and manage savings plans as a billing administrator
28-
29-
If you're a billing administrator, use following steps to view and manage all savings plans and savings plan transactions in the Azure portal:
18+
There are two different authorization methods that control a user's ability to view, manage and delegate permissions to savings plans - billing admin roles and savings plan RBAC roles.
19+
20+
## Billing admin roles
21+
You can view, manage, and delegate permissions to savings plans using built-in billing admin roles. To learn more about MCA and EA billing roles, see [Understand Microsoft Customer Agreement administrative roles in Azure](../manage/understand-mca-roles.md) and [Managing Azure Enterprise Agreement roles](../manage/understand-ea-roles.md), respectively.
22+
23+
### Billing admin roles required for savings plan actions
24+
- View savings plans
25+
- MCA: Users with Billing profile reader or above
26+
- EA: Users with Enterprise Administrator (read only) or above
27+
- MPA: Not supported
28+
- Manage savings plans (achieved by delegating permissions for the full billing profile/enrollment)
29+
- MCA: Users with Billing profile contributor or above
30+
- EA: Users with EA Administrator or above
31+
- MPA: Not supported
32+
- Delegate savings plan permissions
33+
- MCA: Users with Billing profile contributor or above
34+
- EA: Users with EA purchaser or above
35+
- MPA: Not supported
36+
37+
### View and manage savings plans as a billing admin
38+
If you're a billing role user, use following steps to view and manage all savings plans and savings plan transactions in the Azure portal:
3039

3140
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to **Cost Management + Billing**.
32-
- If you're an EA admin, in the left menu, select **Billing scopes** and then in the list of billing scopes, select one.
33-
- If you're a Microsoft Customer Agreement billing profile owner, in the left menu, select **Billing profiles**. In the list of billing profiles, select one.
41+
- If you're under an EA account, in the left menu, select **Billing scopes** and then in the list of billing scopes, select one.
42+
- If you're under a MCA account, in the left menu, select **Billing profiles**. In the list of billing profiles, select one.
3443
1. In the left menu, select **Products + services** > **Savings plans**.
35-
The complete list of savings plans for your EA enrollment or billing profile is shown.
36-
1. Billing administrators can take ownership of a savings plan with the [Savings Plan Order - Elevate REST API](/rest/api/billingbenefits/savings-plan-order/elevate) to give themselves Azure RBAC roles.
44+
The complete list of savings plans for your EA enrollment or MCA billing profile is shown.
45+
1. Billing role users can take ownership of a savings plan with the [Savings Plan Order - Elevate REST API](/rest/api/billingbenefits/savings-plan-order/elevate) to give themselves Azure RBAC roles.
3746

3847
### Adding billing administrators
39-
4048
Add a user as billing administrator to an Enterprise Agreement or a Microsoft Customer Agreement in the Azure portal.
4149

4250
- For an Enterprise Agreement, add users with the Enterprise Administrator role to view and manage all savings plan orders that apply to the Enterprise Agreement. Enterprise administrators can view and manage savings plan in **Cost Management + Billing**.
@@ -45,37 +53,44 @@ Add a user as billing administrator to an Enterprise Agreement or a Microsoft Cu
4553
- For a Microsoft Customer Agreement, users with the billing profile owner role or the billing profile contributor role can manage all savings plan purchases made using the billing profile.
4654
- Billing profile readers and invoice managers can view all savings plans that are paid for with the billing profile. However, they can't make changes to savings plans. For more information, see [Billing profile roles and tasks](../manage/understand-mca-roles.md#billing-profile-roles-and-tasks).
4755

48-
## View savings plans with Azure RBAC access
49-
50-
If you purchased the savings plan or you're added to a savings plan, use the following steps to view and manage savings plans in the Azure portal:
51-
52-
1. Sign in to the [Azure portal](https://portal.azure.com).
53-
2. Select **All Services** > **Savings plans** to list savings plans that you have access to.
54-
55-
## Manage subscriptions and management groups with elevated access
5656

57-
You can [elevate a user's access to manage all Azure subscriptions and management groups](../../role-based-access-control/elevate-access-global-admin.md).
57+
## Savings plan RBAC roles
58+
The savings plan lifecycle is independent of an Azure subscription. Savings plans don't inherit permissions from subscriptions after the purchase. Savings plans are a tenant-level resource with their own Azure RBAC permissions.
5859

59-
After you have elevated access:
60+
### Overview
61+
There are four savings plan-specific RBAC roles:
62+
- Savings plan administrator – allows [management](manage-savings-plan.md) of one or more savings plans in a tenant and [delegation of RBAC roles](../../role-based-access-control/role-assignments-portal.yml) to other users.
63+
- Savings plan purchaser – allows purchase of savings plans with a specified subscription.
64+
- Allows savings plans purchase or [Reservation trade-in](reservation-trade-in.md) by non-billing admins and non-subscription owners.
65+
- Savings plan purchasing by non-billing admins must be enabled. Learn more [here](buy-savings-plan.md#who-can-buy-a-savings-plan).
66+
- Savings plan contributor – allows management of one or more savings plans in a tenant but not delegation of RBAC roles to other users.
67+
- Savings plan reader – allows read-only access to one or more savings plans in a tenant.
6068

61-
1. Navigate to **All Services** > **Savings plans** to see all savings plans that are in the tenant.
62-
2. To make modifications to the savings plan, add yourself as an owner of the savings plan order using Access control (IAM).
69+
These roles can be scoped to either a specific resource entity (e.g. subscription or savings plan) or the Microsoft Entra tenant (directory). To learn more about Azure RBAC, see [What is Azure role-based access control (Azure RBAC)?](../../role-based-access-control/overview.md).
6370

64-
## Grant access to individual savings plans
71+
### Savings plan RBAC roles required for savings plan actions
72+
- View savings plans:
73+
- Tenant-scope: Users with Savings plan reader or above.
74+
- Savings plan-scope: Built-in Reader or above.
75+
- Manage savings plans:
76+
- Tenant-scope: Users with Savings plan contributor or above.
77+
- Savings plan-scope: Built-in Contributor or Owner roles, or Savings plan contributor or above.
78+
- Delegate savings plan permissions:
79+
- Tenant-scope: [User Access Administrator](../../role-based-access-control/built-in-roles.md#general) rights are required to grant RBAC roles to all savings plans in the tenant. To gain these rights, follow [Elevate access](../../role-based-access-control/elevate-access-global-admin.md) steps.
80+
- Savings plan-scope: Savings plan administrator or User access administrator.
6581

66-
Users who have owner access on the savings plan and billing administrators can delegate access management for an individual savings plan order in the Azure portal.
82+
In addition, users who held the Subscription owner role when the subscription was used to purchase a savings plan, can also view, manage and delegate permissions for the purchased savings plan.
6783

68-
To allow other people to manage savings plans, you have two options:
6984

70-
- Delegate access management for an individual savings plan order by assigning the Owner role to a user at the resource scope of the savings plan order. If you want to give limited access, select a different role. For detailed steps, see [Assign Azure roles using the Azure portal](../../role-based-access-control/role-assignments-portal.yml).
71-
- Add a user as billing administrator to an Enterprise Agreement or a Microsoft Customer Agreement:
72-
- For an Enterprise Agreement, add users with the Enterprise Administrator role to view and manage all savings plan orders that apply to the Enterprise Agreement. Users with the Enterprise Administrator (read only) role can only view the savings plan. Department admins and account owners can't view savings plans unless they're explicitly added to them using Access control (IAM). For more information, see [Manage Azure Enterprise roles](../manage/understand-ea-roles.md).
73-
- For a Microsoft Customer Agreement, users with the billing profile owner role or the billing profile contributor role can manage all savings plan purchases made using the billing profile. Billing profile readers and invoice managers can view all savings plans that are paid for with the billing profile. However, they can't make changes to savings plans. For more information, see [Billing profile roles and tasks](../manage/understand-mca-roles.md#billing-profile-roles-and-tasks).
85+
### View savings plans with RBAC access
7486

75-
_Enterprise Administrators can take ownership of a savings plan order and they can add other users to a savings plan using Access control (IAM)._
87+
If you have savings plan-specific RBAC roles (Savings plan administrator, purchaser, contributor or reader), purchased savings plans, or been added as an owner to savings plans, use the following steps to view and manage savings plans in the Azure portal:
7688

77-
- For a Microsoft Customer Agreement, users with the billing profile owner role or the billing profile contributor role can manage all savings plan purchases made using the billing profile. Billing profile readers and invoice managers can view all savings plans that are paid for with the billing profile. However, they can't make changes to savings plans. For more information, see [Billing profile roles and tasks](../manage/understand-mca-roles.md#billing-profile-roles-and-tasks).
89+
1. Sign in to the [Azure portal](https://portal.azure.com).
90+
2. Select **Home** > **Savings plans** to list savings plans that you have access to.
7891

92+
### Adding RBAC roles to users and groups
93+
To learn about delegating savings plan RBAC roles, see [Delegate savings plan RBAC roles](manage-savings-plan.md#delegate-savings-plan-rbac-roles)
7994

8095

8196
## Grant access with PowerShell
@@ -84,12 +99,10 @@ Users that have owner access for savings plan orders, users with elevated access
8499

85100
Access granted using PowerShell isn't shown in the Azure portal. Instead, you use the `get-AzRoleAssignment` command in the following section to view assigned roles.
86101

87-
## Assign the owner role for all savings plan
88-
102+
### Assign the owner role for all savings plan
89103
Use the following Azure PowerShell script to give a user Azure RBAC access to all savings plan orders in their Microsoft Entra tenant (directory).
90104

91105
```azurepowershell
92-
93106
Import-Module Az.Accounts
94107
Import-Module Az.Resources
95108
@@ -104,12 +117,11 @@ foreach ($savingsPlan in $savingsPlanObjects)
104117
Write-Host "Assigning Owner role assignment to "$savingsPlanOrderId
105118
New-AzRoleAssignment -Scope $savingsPlanOrderId -ObjectId <ObjectId> -RoleDefinitionName Owner
106119
}
107-
108120
```
109121

110122
When you use the PowerShell script to assign the ownership role and it runs successfully, a success message isn’t returned.
111123

112-
### Parameters
124+
#### Parameters
113125

114126
**-ObjectId** Microsoft Entra ObjectId of the user, group, or service principal.
115127
- Type: String
@@ -126,21 +138,8 @@ When you use the PowerShell script to assign the ownership role and it runs succ
126138
- Accept pipeline input: False
127139
- Accept wildcard characters: False
128140

129-
## Tenant-level access
130-
131-
[User Access Administrator](../../role-based-access-control/built-in-roles.md#user-access-administrator) rights are required before you can grant users or groups the Savings plan Administrator and Savings plan Reader roles at the tenant level. In order to get User Access Administrator rights at the tenant level, follow [Elevate access](../../role-based-access-control/elevate-access-global-admin.md) steps.
132-
133-
### Add a Savings plan Administrator role or Savings plan Reader role at the tenant level
134-
You can assign these roles from the [Azure portal](https://portal.azure.com).
135-
136-
1. Sign in to the Azure portal and navigate to **Savings plan**.
137-
1. Select a savings plan that you have access to.
138-
1. At the top of the page, select **Role Assignment**.
139-
1. Select the **Roles** tab.
140-
1. To make modifications, add a user as a Savings plan Administrator or Savings plan Reader using Access control.
141141

142142
### Add a Savings plan Administrator role at the tenant level using Azure PowerShell script
143-
144143
Use the following Azure PowerShell script to add a Savings plan Administrator role at the tenant level with PowerShell.
145144

146145
```azurepowershell
@@ -151,7 +150,32 @@ New-AzRoleAssignment -Scope "/providers/Microsoft.BillingBenefits" -PrincipalId
151150
```
152151

153152
#### Parameters
153+
**-ObjectId** Microsoft Entra ObjectId of the user, group, or service principal.
154+
- Type: String
155+
- Aliases: Id, PrincipalId
156+
- Position: Named
157+
- Default value: None
158+
- Accept pipeline input: True
159+
- Accept wildcard characters: False
160+
161+
**-TenantId** Tenant unique identifier.
162+
- Type: String
163+
- Position: 5
164+
- Default value: None
165+
- Accept pipeline input: False
166+
- Accept wildcard characters: False
167+
168+
### Assign a Savings plan Contributor role at the tenant level using Azure PowerShell script
169+
Use the following Azure PowerShell script to assign the Savings plan Contributor role at the tenant level with PowerShell.
170+
171+
```azurepowershell
172+
Import-Module Az.Accounts
173+
Import-Module Az.Resources
174+
Connect-AzAccount -Tenant <TenantId>
175+
New-AzRoleAssignment -Scope "/providers/Microsoft.BillingBenefits" -PrincipalId <ObjectId> -RoleDefinitionName "Savings plan Contributor"
176+
```
154177

178+
#### Parameters
155179
**-ObjectId** Microsoft Entra ObjectId of the user, group, or service principal.
156180
- Type: String
157181
- Aliases: Id, PrincipalId
@@ -167,22 +191,18 @@ New-AzRoleAssignment -Scope "/providers/Microsoft.BillingBenefits" -PrincipalId
167191
- Accept pipeline input: False
168192
- Accept wildcard characters: False
169193

170-
### Assign a Savings plan Reader role at the tenant level using Azure PowerShell script
171194

195+
### Assign a Savings plan Reader role at the tenant level using Azure PowerShell script
172196
Use the following Azure PowerShell script to assign the Savings plan Reader role at the tenant level with PowerShell.
173197

174198
```azurepowershell
175-
176199
Import-Module Az.Accounts
177200
Import-Module Az.Resources
178-
179201
Connect-AzAccount -Tenant <TenantId>
180-
181202
New-AzRoleAssignment -Scope "/providers/Microsoft.BillingBenefits" -PrincipalId <ObjectId> -RoleDefinitionName "Savings plan Reader"
182203
```
183204

184205
#### Parameters
185-
186206
**-ObjectId** Microsoft Entra ObjectId of the user, group, or service principal.
187207
- Type: String
188208
- Aliases: Id, PrincipalId

0 commit comments

Comments
 (0)