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 isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--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
- JSON
- Text
- CSV
- Markdown
[
{
"id": "microsoft.directory",
"name": "microsoft.directory"
},
{
"id": "microsoft.aad.b2c",
"name": "microsoft.aad.b2c"
}
]
id name
-------------------- --------------------
microsoft.directory microsoft.directory
microsoft.aad.b2c microsoft.aad.b2c
id,name
microsoft.directory,microsoft.directory
microsoft.aad.b2c,microsoft.aad.b2c
# entra resourcenamespace list
Date: 1/31/2025
## microsoft.directory (microsoft.directory)
Property | Value
---------|-------
id | microsoft.directory
name | microsoft.directory
## microsoft.aad.b2c (microsoft.aad.b2c)
Property | Value
---------|-------
id | microsoft.aad.b2c
name | microsoft.aad.b2c