How to add a new user to azure directory with "Owner" role at root (/) scope

Rabia Mehta 11 Reputation points
2021-06-15T06:52:47.127+00:00

How can we add Owner role for a user with root level scope ?

When trying with command - az role assignment create --role 'Owner' --scope '/' --assignee-object-id <user-object-id> ,
following error is seen -
The request did not have a subscription or a valid tenant level resource provider.

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
808 questions
{count} votes

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.