Azure AD Groups, Claims and the Graph API.

As part of my role as a Premier Field Engineer I deliver training workshops on Azure. Recently the customer wanted to know all about the Graph API, the REST interface for interacting with Azure Active Directory from a custom application. The information below is a summary I wrote for them on the subject with content pulled from a number of places. Their main aim was to create groups in Azure AD, add users then use those groups to turn on/off certain features in their application.

They wanted to do this from a web application but I’m also going to include some information on how this is also achieved from a native (desktop) application.

You won’t find anything in here that is secret or hidden, it’s all public information that comes from either the official Azure documentation or other public blogs.

One item worth noting is that by default, Azure AD does NOT send the claims which details the groups an account is a member of  - this needs to be turned on manually. There is no way to do this via the “Classic” interface however you download the “Manifest fest” aka the configuration file for Azure AD, update that and then reupload it. The article has details on how to do this.

Articles from others worth reading:


Series of articles worth reading: