New command: aad group get
See original GitHub issueUsage
m365 aad group get [options]
Description
Retrieve information about a specific Azure AD Group
Options
Option | Description |
---|---|
-i, --id [id] |
The object Id of the Azure AD group. Specify either id or title but not both. |
-t, --title [title] |
The display name of the Azure AD group. Specify either id or title 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:
- copy the code of
aad o365group get
toaad group get
and make it a brand new command - (in a new issue) update the code of
aad 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.
Issue Analytics
- State:
- Created a year ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
New-ADGroup (ActiveDirectory) - Microsoft Learn
Method 1: Use an existing group object as a template for a new object. Use the Get-ADGroup cmdlet to retrieve a group object...
Read more >How to use Get-ADGroup in PowerShell - LazyAdmin
Get Get -ADGroup cmdlet allows us to find all group objects in the Active Directory and extract information from them. The advantage of...
Read more >How to Check AD Group Membership with Command Line
To See Which Groups a Particular User Belongs to: Open the command prompt by navigating to Start → Run (or pressing Win +...
Read more >Get-ADGroupMember: Find AD Users Fast with PowerShell
Get -ADGroup queries a domain controller and returns AD group objects. Get-AdGroupMember looks inside of each group and returns all user accounts ...
Read more >Get-ADGroup - Active Directory - PowerShell - SS64.com
Get one or more Active Directory groups. ... Get-ADGroup gets a group or performs a search to retrieve multiple groups from an Active...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Awesome Nico, Thank you very much! The Issue is all yours
even better 🙂. And will be consistent with the
o365group list
command which returns only M365 groups so it makes sense that theget
command should return the same 👍