Skip to main content

entra resourcenamespace list

Gets a list of the RBAC resource namespaces and their properties

Usage​

m365 entra resourcenamespace list [options]

Options​

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, permissions, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks​

warning

The command is based on an API that is currently in preview and is subject to change once the API reached general availability.

Permissions​

ResourcePermissions
Microsoft GraphRoleManagement.Read.Directory

Examples​

Retrieve all resource namespaces.

m365 entra resourcenamespace list

Response​

[
{
"id": "microsoft.directory",
"name": "microsoft.directory"
},
{
"id": "microsoft.aad.b2c",
"name": "microsoft.aad.b2c"
}
]