locked
Get-AzureADUser RRS feed

  • Question

  • good afternoon,

    I need to extract an extension property that exists in our Azure AD environment, and I can extract this information easily, using the command below.

    Get-AzureADUser -SearchString user | select -ExpandProperty extensionproperty

    this is the output of the command:

    Key                          Value

    extensionproperty     MyValue

    but this command does not list me another property, the UserPrincipalName, I needed to display both properties using one command, as an example below:

    Key                          Value

    extensionproperty     MyValue

    userprincipalname     UPN@domain.com.br

    can you help me, how can i do this ?

    Friday, May 29, 2020 7:11 PM

All replies

  • Get-AzureADUser -SearchString user | selectUserPrincipalName, extensionproperty

    \_(ツ)_/

    Friday, May 29, 2020 8:41 PM