Feb 09 2020
- last edited on
Jan 14 2022
I'm confused on the different extension attributes
When using get-azureaduserextension, you get a list of extension attributes in the following format:
These are also present using the MS graph https://graph.microsoft.com/beta/Users/<upn>/
However you can also query https://graph.microsoft.com/beta/Users/<upn>/onPremisesExtensionAttributes
Are "extension_0...0_extensionAttribute*" identical to "extensionAttribute*"? Where and when are these synced?
We have one extensionAttribute which is not present as extension_0...0_extensionAttribute.
How can we make sure all extensionAttributes are also available as extension_0...0_extensionAttribute?
Can Powershell also returns extensionAttributes (instead of extension_0...0_extensionAttributes) ?
Feb 09 2020 10:47 AMSolution
No they aren't. The first set is custom "extensions" you've configured via AAD Connect/matching app on AAD side. Like when you want to create an user_likes_which_color attribute. The second one is the "standard" set of extension attributes you get in the (Exchange) AD schema, customattributeXX (and the extended ones).