capabilities.work

Get a direct membership as a directory role

One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.

Look something up

Get a direct membership as a directory role

with Microsoft Entra ID (formerly Azure AD) · Identity & Access Management

Use Microsoft Entra ID (formerly Azure AD): its Users.directory Object API lets you get a direct membership as a directory role in a single step (GET /users/{user-id}/memberOf/{directoryObject-id}/microsoft.graph.directoryRole). capabilities.work can help you get signed up and connected.

  • Is there a way to read one of a user's direct memberships typed as a directory role?
  • What role details come back for one of someone's role memberships?
Say it to your AI assistant
  • Get {object} from {user}'s direct memberships as a directory role.
  • Show directory role {object} that {user} directly holds.
For your developer

GET /users/{user-id}/memberOf/{directoryObject-id}/microsoft.graph.directoryRole in Users.directory Object API. Full spec on APIs.io.