Forum Discussion
EStrong9
Dec 02, 2023Copper Contributor
Azure AD extension attributes from AD Connect
I'm struggling with finding my data in AAD. We've been running Azure Connect for years to bring the data from our on-prem AD over to our AAD instance. Back last spring, I expanded the scope of the ...
juliansperling
Dec 03, 2023Brass Contributor
EStrong9Hi - you are using the AzureAD Module, which is marked for Deprecation. If you want full access to all Information in Entra ID (new Name for Azure AD) you will want to move to the new PowerShell Modules.
You should try Get-MgUser and Update-MgUser, however I personally find that the documentation of the PowerShell SDK for the Graph API (the semi-new way to talk to Entra ID) is so poor that I prefer using Invoke-MgGraphrequest and the Graph API Documentation (https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0&tabs=powershell). When interacting with Users it is important to know that you have to explicitly request a lot of properties, since the API only returns basic information by default.