-
Hi Experts, I try to get specific custom attributes from a user object.
From the keys object, I can find my attributes The spec has no information about it. What is the recommend way to get the values from my custom attributes? Regards, Ronny |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I have only used extension properties for Get-AzureADUser, and there it worked with ExtensionProperty.extension_9d98asdfl15980a_Nickname You could try using that or Get-AzADUser instead, or to test if the property is really there. |
Beta Was this translation helpful? Give feedback.
-
My bad, |
Beta Was this translation helpful? Give feedback.
-
Hi @EA12 , $users = Get-PnPAzureADUser -Select -Select "Country", "UserType" Write-Output $azureADUser.AdditionalProperties.country and it doesn't work? can you please help |
Beta Was this translation helpful? Give feedback.
My bad,
the field name Ii was using was simply wrong.
I needed extension_b8fc35d8e8ec45e689d332303177957a_company and not companyName.