This article will walk you through the syntax and usage of the az ad group member check Azure CLI command with certain examples of how to use this command.
Table of Contents
Az AD Group Member Check
Az AD Group Member Check command can help you check if a specific member is in a group.
Syntax
az ad group member check --group --member-idExample
In this example, we are trying to check whether the member with member ID 54481342-e592-47c2-ba89-b07dcadf9346 belongs to the AzureLessons Group.
az ad group member check --group "AzureLessons Group" --member-id 54481342-e592-47c2-ba89-b07dcadf9346After executing the above query, I got the expected output, as shown in the screenshot below.

When it returns the value as true, that means the specified member belongs to the same Azure AD group as mentioned.
If it returns the value as false, that member doesn’t belong to that specified group, as shown below.

Conclusion
This article discussed the syntax and usage of the az ad group member check Azure CLI command as mentioned in this article.
You may also like following the articles below.

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, 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.
