GET /directoryRoles

List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra ID, use List directoryRoleTemplates.

Servers

Query parameters

Name Type Required Description
$orderby[] Array No

Order items by property values

$top Integer No

Show only the first n items

$count Boolean No

Include count of items

$filter String No

Filter items by property values

$skip Integer No

Skip the first n items

$select[] Array No

Select properties to be returned

$expand[] Array No

Expand related entities

$search String No

Search items by search phrases

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.