Adds "aad group user list" command. Closes #5469#5537
Adds "aad group user list" command. Closes #5469#5537
Conversation
|
Hey @nanddeepn, looks like the docs job is failing. Could you take a look at that? |
|
Hi @Jwaegebaert |
|
Yes, indeed. By following the link you posted you should be able to reproduce it locally |
|
Hi @Jwaegebaert Anything else, I am missing here? |
|
docs job fails, when I add below to |
|
@nanddeepn, we're looking into it. It seems to be more complex than we imagined. I'll keep you posted once we find something. |
martinlingstuyl
left a comment
There was a problem hiding this comment.
Hi @nanddeepn, thanks for your contribution. I did a review and have some comments. I also have a point of open discussion I'm not yet sure about. I'll ping Milan about it.
|
Hi @nanddeepn, I've discussed this internally, and it seems we've got an interesting confusion here. 'Owners and Members' are something else then 'Members and Guests', the userType property is an example of the last. MS graph returns user objects, and userType is simply a user property there. It's the fault of the specs, so we'll be changing the specs. In its current state it's just not feasible and confusing. We've seen that this code is a copy of m365group user list, so that command will need to change as well (later on) You'll see it when the specs have been updated. |
|
He @nanddeepn, the specs have not yet been updated, 😂 you'll have to wait some more.. |
|
Hi @nanddeepn We took a few days to look at the issue you are facing with Docusaurus. In a nutshell: We managed to get it working again by adding an extra config value: cli-microsoft365/docs/docusaurus.config.js Lines 6 to 15 in 8b56e1d Why does this make the pipeline work? We have no idea, to be honest. In fact, we even reached out to the mods/maintainers of Docusaurus, and even they have no idea what caused this issue and why the Thanks! |
martinlingstuyl
left a comment
There was a problem hiding this comment.
Hi @nanddeepn, let's look at some comments before we merge this...
martinlingstuyl
left a comment
There was a problem hiding this comment.
Hi @nanddeepn, I've got a few last round comments. We'll merge this as soon as possible afterwards.
martinlingstuyl
left a comment
There was a problem hiding this comment.
Looks fine with some last cosmetic changes
| List all group users from a group specified by name. For each one return the display name, e-mail address, and memberof. | ||
|
|
||
| ```sh | ||
| m365 aad group user list --groupDisplayName Developers --properties "displayName,mail,memberof/id" |
There was a problem hiding this comment.
Let's use manager/displayName as example.
Let's include an extra example with manager/*
|
Merged manually, thanks 👏 |

Adds
aad group user listcommand. Closes #5469😍 Happy Hacktoberfest !