Intune user country required

mahesh badri 6 Reputation points
2020-08-03T14:03:04.773+00:00

Hello All,

Is there any Powershell script for getting Intune users Country. normally we can get user country from User properties..

however i need bulk users country for Intune users. please help me to get this information.

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,657 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Crystal-MSFT 45,571 Reputation points Microsoft Vendor
    2020-08-04T02:00:30.257+00:00

    Hi,

    To get the country property for the Intune user via PowerShell, we can try the following steps:

    1. Install Azure AD module and connect to the tenant: Install-Module AzureAD
      Connect-AzureAD
    2. Get user country information,:
      Get-AzureADUser | fl displayname,country 15314-intune-azureaduser.png

    Hope it can hep.

    0 comments No comments

  2. Crystal-MSFT 45,571 Reputation points Microsoft Vendor
    2020-08-14T02:41:35.08+00:00

    Hi,

    How things going? Did we try the above commands? If there's still anything else we can help, feel free to let us know.

    0 comments No comments