Skip to content

New command: m365 entra rolepermission list #6562

Description

@MartinM85

Usage

m365 entra rolepermission list [options]

Description

Retrieve all Entra ID role permissions from a resource namespace

Options

Option Description
-n, --resourceNamespace <resourceNamespace> Resource namespace for which to retrieve role permissions
-p, --privileged Return only sensitive role permissions

Examples

Get a list of role permissions

m365 entra rolepermission list --resourceNamespace 'microsoft.directory'

Get a list of sensitive role permissions

m365 entra rolepermission list --resourceNamespace 'microsoft.directory' --privileged

Default properties

  • id
  • name
  • isPrivileged
  • actionVerb

Additional Info

Details: https://learn.microsoft.com/en-us/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-beta&tabs=http

Role permissions, also called as resource actions, are related to role definitions. Role permissions describe operations that a principal like user can do with some resource. When creating a custom role definition through the entra roledefinition add command, the user must specify allowed resource actions. This command will help to select the correct permissions for a custom role definition.

**Update the docs of the entra roledefinition add and entra roledefinition set with a note how to retrieve a list of allowed resource actions.

I will work on it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions