Azure AD, Powershell to get all user properties

Arif Usman 496 Reputation points
2020-03-09T20:42:59.48+00:00

folks,

I am in processes to integrate Workday in Azure and have few questions about AAD. It is totally base on US and in Azure Cloud (so there is no on premise server).

I am trying to map Workday with Azure AD properties but seems like i am able to get all user properties. My question when i ran PowerShell like

Get-AzureADUser -ObjectId "******@contosso.com"| fl

I get properties but not all, some are for example Managers, office and more not there.

what is the best command to run get all AAD user properties?

2nd. I am looking to add some properties in AAD for example EmployeeID, WorkID? what is the best way to add properties?

Thanks for your help in advance.

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

Accepted answer
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2020-03-09T20:59:14.333+00:00

    "All" is a relative term, there are many attributes that are not exposed via the admin tools or not even synced to Azure AD from the corresponding workloads. But if you know what specific attribute you are looking for, you can easily find the corresponding cmdlet (if one exists). Here's also a reference for what's available via the Graph API (again, not everything is listed): https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0

    To add custom attributes, follow the steps here: https://learn.microsoft.com/en-us/previous-versions/azure/ad/graph/howto/azure-ad-graph-api-directory-schema-extensions

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.