Open MartinM85 opened 2 weeks ago
Hi @MartinM85 nice suggestion once again.
A few things that come to mind:
description
because this will probably make the response too large to view on a default-sized terminal.Directory.ReadWrite.All
as permission scope, do we still need an additional one?Hi @milanholemans,
Directory.ReadWrite.All
will definitely work. RoleManagement.Read.Directory
is the least privileged permission required to run the command, but it not needed.
Spec updated
Since Directory.ReadWrite.All
is already included in our permission scope, I suggest we don't add the lower privileged scope.
Usage
m365 entra roledefinition list
Description
Lists all Microsoft Entra ID role definitions
Options
-p, --properties [properties]
-f, --filter [filter]
Examples
Retrieve all Microsoft Entra ID role definitions
Retrieve only the names of the role definitions
Retrieve only custom role definitions
Default properties
Additional Info
More info: https://learn.microsoft.com/en-us/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0&tabs=http#for-the-directory-microsoft-entra-id-provider