In this blog post I am going to show how we can manage Groups, using same method.
Azure AD Groups also works similar to on-premises AD groups. It can use to manage permissions in effective manner. In Hybrid environment there will be cloud-only groups as well as synced groups from on-premises AD environment. In this section we are going to look in to group management using Azure Active Directory PowerShell for Graph module.
Let’s start with listing groups. We can search for a group using,
Get-AzureADGroup -SearchString "sg"
In above command,SearchStringis used to define the search criteria. Above example will list down any group containing “sg” in Display name field.
In search result, we can see theobjectIdfor the group. Once we know theObjectId, we can see the details of the group using,