Feb 06 2020 03:42 AM - edited Feb 06 2020 03:43 AM
Hello,
We are using extension attributes on users. I can't not find any clear answer how to set an extension attribute we just created to a Azure AD Group. Is this even possible because i can't find any PowerShell command just like the one for adding extension on Users (Set-AzureADUserExtension).
De documentation about extension attributes are here:
https://docs.microsoft.com/en-us/powershell/azure/active-directory/using-extension-attributes-sample...
IIt literally says this:
You can attach an extension attribute to the following object types:
For example, i have just created a test extension with TargetObjects 'Groups'. But how do we add this extension on a group?
For users you can find the extension attributes by using powershell command:
Get-AzureADUser -ObjectId "xxx-xxx-xxx-xx" | select -ExpandProperty extensionproperty
Is there a way to show the extension attributes on groups?
Sep 08 2020 07:01 PM
Oct 08 2020 06:28 AM
@mailerman2080 same here, I guess is not possible to do it via Powershell there should be another way, hopefully, someone else will clarify that
Oct 08 2020 07:06 AM
Solution@mailerman2080 @GiulianoDeLuca
Not through PowerShell but I do have tested this with the use of Graph API and extensibility-schema for groups. I think this is the only way but it only work on O365 groups and when extra data is inserted, the data is not visible true PowerShell.
https://docs.microsoft.com/en-us/graph/extensibility-schema-groups
Oct 08 2020 07:06 AM
Solution@mailerman2080 @GiulianoDeLuca
Not through PowerShell but I do have tested this with the use of Graph API and extensibility-schema for groups. I think this is the only way but it only work on O365 groups and when extra data is inserted, the data is not visible true PowerShell.
https://docs.microsoft.com/en-us/graph/extensibility-schema-groups