Azure owner does not have enough permissions

H Sharma 0 Reputation points
2025-05-30T00:03:07.92+00:00

We have 3 subscriptions for which we have one owner. This owner does not have enough permissions to create another owner or access a container in a storage account that it just created.

For example, when I go to Entra Id (in Azure Portal, not the Entra portal) > Manage > Properties, everything is disabled.

When I go to the subscription scope in Azure Portal > IAM > View My Access, I have this condition attached:

Constrain roles and principals

  • Allow user to only assign roles you select
  • Allow user to only assign these roles to principals you select

When I tried to remove the condition and save it, I get this error:

Error updating role assignment: 36252b0e-d460-4afb-9ff5-d200cc6612b4, error: The client 'email' with object id 'id' has an authorization with ABAC condition that is not fulfilled to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/subscriptions/xyz/providers/Microsoft.Authorization/roleAssignments/xyz' or the scope is invalid. If access was recently granted, please refresh your credentials.

I tried exporting the role to json using Get-AzRoleDefinition and importing it back to a custom role after removing Microsoft.Authorization/*/Write . I got Forbidden response.

So, I am stuck. If anyone can help be resolve this, would appreciate.

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,538 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nandamuri Pranay Teja 3,700 Reputation points Microsoft External Staff Moderator
    2025-05-30T03:40:21.6966667+00:00

    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.

    1. Sign in to the Azure Portal as the owner.

    Navigate to Subscriptions > Select the subscription > Access control (IAM) > Role assignments.

    1. Locate the owner’s role assignment (filter by your user account or email).
    2. Check the State column for any conditions (e.g., “Active with condition”).
    3. 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:

    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.  User's image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.