Jerry Jerry - 24 days ago 8
Java Question

Get user properties from azure AD using Graph API

I am using Graph API to import users from Azure AD. Before getting the user list I want to get all the properties available for a user. Is there any API I can use for that. Currently I calling the get all users rest service itself and getting the keys from the first user object. Is there a better way ?

Answer

You can get all metadata from https://graph.windows.net/"YourTenantId"/$metadata#directoryObjects/Microsoft.DirectoryServices.User

Look for the <EntityType Name="User" ... tag.