Skip to Content
Mastering Active Directory - Second Edition
book

Mastering Active Directory - Second Edition

by Dishan Francis
August 2019
Intermediate to advanced
786 pages
20h 22m
English
Packt Publishing
Content preview from Mastering Active Directory - Second Edition

Managing groups

Azure AD groups also work similarly to on-premises AD groups. They can be used to manage permissions in an effective manner. In a hybrid environment, there will be cloud-only groups as well as synced groups from the on-premises AD environment. In this section, we are going to look into group management using the Azure Active Directory PowerShell for Graph module.

Let's start with listing groups. We can search for a group using the following command:

Get-AzureADGroup -SearchString "sg"

In the preceding command, SearchString is used to define the search criteria. The preceding example will list any groups containing sg in the DisplayName field:

In the search result, we can see the ObjectId for the group. Once we know the

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Active Directory - Third Edition

Mastering Active Directory - Third Edition

Dishan Francis
Active Directory, 5th Edition

Active Directory, 5th Edition

Brian Desmond, Joe Richards, Robbie Allen, Alistair G. Lowe-Norris

Publisher Resources

ISBN: 9781789800203Supplemental Content