What is the `User` role definition?

Macháček Martin 286 Reputation points
2025-02-06T06:06:05.4066667+00:00

When I use the Graph API endpoint v1.0/roleManagement/directory/roleDefinitions, I see that the response contains the User role definition.

What's the purpose of this role? Can I assign the User role to any user?

It seems to me that this the some kind of default role for all users except the guest users, but I can't find anything in the Microsoft documentation.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,164 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 13,285 Reputation points MVP
    2025-02-06T06:15:17.43+00:00

    Hello ,Welcome to MS Q&A

    The User role in Microsoft Graph API is generally used to manage user-related functionalities within an application or service. It allows users to perform actions such as reading user profiles, managing user accounts, and assigning roles. Whether this role can be assigned to any user depends on the permissions and scope defined in the application. Typically, roles can be assigned based on the user's membership in a group or directly to the user, but specific permissions may be required to assign certain roles.

    For more detailed information, you can refer to the following resources:

    Please let us know if any further questions

    Kindly accept answer if it helps

    Thanks
    Deepanshu


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.