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 ?
0
votes
2 Answers
1
votes
You can get all metadata from https://graph.windows.net/"YourTenantId"/$metadata#directoryObjects/Microsoft.DirectoryServices.User
Look for the <EntityType Name="User" ...
tag.
0
votes
Well, a user object is well defined. https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#user-entity