How to get countryLetterCode from Azure AD

Victor Guo 61 Reputation points


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

Any ideas?


Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,617 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 90,876 Reputation points MVP

    It's not exposed in any cmdlet that I know of, and it doesnt look like the user entity in Graph uses it either.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. VipulSparsh-MSFT 16,201 Reputation points Microsoft Employee

    @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.

    1 person found this answer helpful.
    0 comments No comments