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: aad group get #3786
Comments
We support |
I think we already have similar command for getting O365 Group - |
@arjunumenon good point! We should in that case however refactor the |
Good catch @appieschot 👍. When you are listing the groups, we are getting only unified groups. So when we enhance the command, we may have to update it. But for this command, getting Group, when we are getting a particular group, we are not doing any filter as per here. |
Aaahhh 😂 it's not a very logical place though, if you're looking for functionality to retrieve Azure AD groups. by the way, something similar goes up for the non-existent command |
I would bank on the way to create a new command
Like you said, for Here is my thought - I will let other @pnp/cli-for-microsoft-365-maintainers comment on the approach |
Whoops I confused |
@martinlingstuyl I agree. For me it's totally ok to have also this command on the Also since we have something very similar this will be a perfect case for a |
Wouldn't the ideal solution be to:
|
even better 🙂. And will be consistent with the |
Hey @pnp/cli-for-microsoft-365-maintainers, do we have a consensus on the spec? |
yep I still agree with my last comment 😅 @martinlingstuyl should we open this up? |
Pick me! 😄 |
Awesome Nico, Thank you very much! The Issue is all yours |
Usage
m365 aad group get [options]
Description
Retrieve information about a specific Azure AD Group
Options
-i, --id [id]
id
ortitle
but not both.-t, --title [title]
id
ortitle
but not both.Examples
Get the group information from Azure AD for the Group with the title Sales
m365 aad group get --title "Sales"
Additional Info
Because there's already a command that does this:
aad o365group get
we take the following steps:aad o365group get
toaad group get
and make it a brand new commandaad o365group get
so that it returns only O365 groups, rather than all groups as it's doing now? The current behavior might be confusing and lead to undesired effects if you think that you're working with an O365 group while in fact you're not.The text was updated successfully, but these errors were encountered: