Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command: entra roledefinition get #6465

Open
MartinM85 opened this issue Nov 4, 2024 · 2 comments · May be fixed by #6487
Open

New command: entra roledefinition get #6465

MartinM85 opened this issue Nov 4, 2024 · 2 comments · May be fixed by #6487

Comments

@MartinM85
Copy link
Contributor

MartinM85 commented Nov 4, 2024

Usage

m365 entra roledefinition get

Description

Gets a specific Microsoft Entra ID role definition

Options

Option Description
-i, --id [id] The id of the role definition. Specify either id or displayName, but not both.
-n, --displayName [displayName] The display name of the role definition. Specify either id or displayName, but not both.
-p, --properties [properties] Comma-separated list of properties to retrieve.

Examples

Get info about a role specified by the id

m365 entra roledefinition get --id 62e90394-69f5-4237-9190-012177145e10

Get limited info about a role specified by the display name

m365 entra roledefinition get --displayName 'Custom SharePoint Role' --properties 'description,isEnabled'

Default properties

No response

Additional Info

More info: https://learn.microsoft.com/en-us/graph/api/unifiedroledefinition-get?view=graph-rest-1.0&tabs=http#for-the-directory-microsoft-entra-id-provider

I will work on it

@Adam-it Adam-it added needs peer review Needs second pair of eyes to review the spec or PR feature request labels Nov 4, 2024
@milanholemans
Copy link
Contributor

Made a slight adjustment to the description. Also for this issue, I think we can remove the required permission right @MartinM85?

@MartinM85
Copy link
Contributor Author

@milanholemans Spec updated

@milanholemans milanholemans added work in progress and removed needs peer review Needs second pair of eyes to review the spec or PR labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants