List all users for a Microsoft Teams team
Command; teams users list -i| --teamId <teamId>
Feel free to assign me if you agree on spec.
Awesome! All yours!
Updated spec to --teamId to match teams hannel add command
Oke, so one more review while building. Suggest we stick to the implementation in teams PowerShell (https://docs.microsoft.com/en-us/powershell/module/teams/get-teamuser?view=teams-ps).
Command; teams users list -i| --groupId <groupId> -r| --role [Owner,Member,Guest]
@waldekmastykarz it would be the same implementation for group user list, do you want me to implement that as well?
For consistency, let's stick to teamId instead of groupId. Also, let's use user (singular) instead of users to keep it consistent with our naming convention. I like the idea of specifying the role. If you can spec group user list as a separate issue, then we can track it separately for progress.
Are you still working on this @appieschot?
Yes, only need to write some unit tests and validate a work around. It turns out the graph always returns 'owners' as roletype 'member'.