question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New command: aad group get

See original GitHub issue

Usage

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 to aad 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:closed
  • Created a year ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
milanholemanscommented, Dec 16, 2022

Awesome Nico, Thank you very much! The Issue is all yours

2reactions
Adam-itcommented, Oct 15, 2022

even better 🙂. And will be consistent with the o365group list command which returns only M365 groups so it makes sense that the get command should return the same 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found