It's not exposed in any cmdlet that I know of, and it doesnt look like the user entity in Graph uses it either.
How to get countryLetterCode from Azure AD
Hi,
I was trying to retrieve the attribute that is mapped from the "c" attribute in on-premise AD to Azure AD. The attribute seems to be called "countryLetterCode" in Azure AD.
But I cannot find a way to get this "countryLetterCode" attribute via PowerShell. I've tried the followings.
- Get-AzureADUser
- Get-MsolUser
- Get-User
- Get-Recipient
https://learn.microsoft.com/en-us/azure/active-directory/hybrid/reference-connect-sync-attributes-synchronized#exchange-online
https://www.easy365manager.com/active-directory-and-office-365-attribute-naming-the-ultimate-guide/#AttributeTable
Any ideas?
Thanks,
Victor
1 additional answer
Sort by: Most helpful
-
VipulSparsh-MSFT 16,231 Reputation points Microsoft Employee
2020-09-17T09:18:27.347+00:00 @Victor Guo Thanks for reaching out. The only place I can see that is for get-AADIntTenantDetails
-----------------------------------------------------------------------------------------------------------------
If the suggested response helped you resolve your issue, please do not forget to accept the response as Answer and "Up-Vote" for the answer that helped you for benefit of the community.