Skip to main content

entra resourcenamespace list

Get 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, 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.

Examples

Retrieve all resource namespaces.

m365 entra resourcenamespace list

Response

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