Skip to content

Commit

Permalink
New command: entra rolepermission list
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinM85 committed Jan 21, 2025
1 parent 25307ab commit 784b122
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
15 changes: 11 additions & 4 deletions docs/docs/cmd/entra/rolepermission/rolepermission-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';

# entra rolepermission list

Lists all Microsoft Entra ID role permissions.
Lists all Microsoft Entra ID role permissions

## Usage

Expand All @@ -13,8 +13,9 @@ m365 entra rolepermission list [options]
```

## Options

```md definition-list
`-n, resourceNamespace [resourceNamespace]`
`-n, --resourceNamespace [resourceNamespace]`
: The namespace of the resource for which to retrieve role permissions.

`-p, --privileged`
Expand All @@ -26,9 +27,15 @@ m365 entra rolepermission list [options]

<Global />

## Examples
## Remarks

:::warning

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

:::

## Examples

Get a list of role permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class EntraRolePermissionListCommand extends GraphCommand {
}

public get description(): string {
return 'Lists all Microsoft Entra ID role permissions from a specifi resource namespace';
return 'Lists all Microsoft Entra ID role permissions';
}

public defaultProperties(): string[] | undefined {
Expand All @@ -46,6 +46,7 @@ class EntraRolePermissionListCommand extends GraphCommand {
if (this.verbose) {
await logger.logToStderr('Getting Microsoft Entra ID role permissions...');
}

try {
const queryParameters: string[] = [];

Expand Down

0 comments on commit 784b122

Please sign in to comment.