In this Azure PowerShell article, we will discuss the syntax and usage of the Get-AzADGroupMember PowerShell command with certain examples.
Table of Contents
This PowerShell command can help you list the members from an Azure AD group.
Below is the syntax of the Get-AzADGroupMember PowerShell command.
Get-AzADGroupMember -GroupObjectId <String>
Get-AzADGroupMember -GroupDisplayName <String>
Let’s discuss a few examples of how to use the Get-AzADGroupMember PowerShell command.
You can execute the below Azure PowerShell command to get the lists of members from an Azure AD group with the specified Group ID.
Get-AzADGroupMember -GroupObjectId "d7496713-3252-4601-afa8-d3d8b86dea72"
After executing the above PowerShell command, I got the below-expected output.
You can see the same output below
You can execute the below Azure PowerShell command to get the lists of members from an Azure AD group with the specified Group Display Name.
Get-AzADGroupMember -GroupDisplayName "AAD DC Administrators"
After executing the above Azure PowerShell command, I got the below-expected output
Get-AzADGroupMember PowerShell – Video Tutorial
In this Azure PowerShell article, we discussed the syntax and usage of the Get-AzADGroupMember PowerShell command with certain examples. Thanks for reading this article !!!
I am Rajkishore, and I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machine, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.