Skip to content

Commit 05148a5

Browse files
Merge pull request #297699 from rolyon/rolyon-rbac-remove-last-owner-role-assignment
[Azure RBAC] Last subscription Owner role assignment update
2 parents 06b7364 + 3ae7bd7 commit 05148a5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

articles/role-based-access-control/troubleshooting.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: femila
77
ms.assetid: df42cca2-02d6-4f3c-9d56-260e1eb7dc44
88
ms.service: role-based-access-control
99
ms.topic: troubleshooting
10-
ms.date: 03/12/2025
10+
ms.date: 05/27/2025
1111
ms.author: rolyon
1212
ms.custom: seohack1, devx-track-azurecli
1313
---
@@ -261,13 +261,19 @@ You attempt to remove the last Owner role assignment for a subscription and you
261261

262262
**Cause**
263263

264-
Removing the last Owner role assignment for a subscription isn't supported to avoid orphaning the subscription.
264+
By default, removing the last Owner role assignment for a subscription isn't supported to avoid orphaning the subscription.
265265

266-
**Solution**
266+
**Solution 1**
267267

268268
If you want to cancel your subscription, see [Cancel your Azure subscription](../cost-management-billing/manage/cancel-azure-subscription.md).
269269

270-
You're allowed to remove the last Owner (or User Access Administrator) role assignment at subscription scope, if you're a Global Administrator for the tenant or a classic administrator (Service Administrator or Co-Administrator) for the subscription. In this case, there's no constraint for deletion. However, if the call comes from some other principal, then you won't be able to remove the last Owner role assignment at subscription scope.
270+
**Solution 2**
271+
272+
You're allowed to remove the last Owner (or User Access Administrator) role assignment at subscription scope, if you're a Global Administrator for the tenant. In this case, there's no constraint for deletion. However, if the call comes from some other principal, then you won't be able to remove the last Owner role assignment at subscription scope. To override this default behavior, enable the "Allow removal of the last subscription Owner role assignment" feature in the Azure portal.
273+
274+
**Solution 3**
275+
276+
If you use [Microsoft Entra Privileged Identity Management (PIM)](/entra/id-governance/privileged-identity-management/pim-configure) and you are eligible for the Owner (or User Access Administrator) role, you can [activate](/entra/id-governance/privileged-identity-management/pim-resource-roles-activate-your-roles) your Owner (or User Access Administrator) role assignment temporarily, remove the last Owner role assignment, and then deactivate or let your role assignment expire.
271277

272278
### Symptom - Role assignment isn't moved after moving a resource
273279

0 commit comments

Comments
 (0)