Hello Hari Sharma
The ABAC condition on the owner’s role assignment is restricting the Microsoft.Authorization/roleAssignments/write action. You need to either remove the condition or ensure the user has sufficient permissions to perform the desired actions.
You require an account that possesses the capability to assign roles without the particular ABAC condition that is presently hindering your primary owner account.
- Sign in to the Azure Portal as the owner.
Navigate to Subscriptions > Select the subscription > Access control (IAM) > Role assignments.
- Locate the owner’s role assignment (filter by your user account or email).
- Check the State column for any conditions (e.g., “Active with condition”).
- Click the role assignment to view details of the ABAC condition, which likely specifies allowed roles or principals.
If you don’t have permissions to modify the role assignment, contact another user with higher privileges, such as Global Administrator with elevated access (via the Access management for Azure resources toggle in Entra ID). Another user with the User Access Administrator or Owner role at the subscription scope without restrictive ABAC conditions.
Ask them to:
- Remove the ABAC condition from your Owner role assignment.
Alternatively, grant you the User Access Administrator role at the subscription scope, which includes Microsoft.Authorization/roleAssignments/write permissions.
To remove the condition:
Go to Subscriptions > Access control (IAM) > Role assignments.
- Select the role assignment with the condition.
- Edit or remove the condition via the Azure Portal
Note: If the subscription is managed under a management group, the condition might be applied at a higher scope, requiring access at that level.
References:
- https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-overview
- https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal
Hope the above answer helps! Please let us know do you have any further queries.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.