Create xml file containing azure ad group sid – Microsoft Surface Hub 2 SmCamera User Manual
Page 75
![background image](/files/873833/content/doc075.png)
5. In Intune, select the group you created earlier and copy the Object id, as shown in
the following figure.
6. Run the following commandlet to get the security group's SID:
PowerShell
7. Paste the Object id into the PowerShell commandlet, press
Enter
, and copy the
Azure AD Group SID
into a text editor.
1. Copy the following into a text editor:
XML
}
$AADGroup =
Read-Host
"Please type the Object ID of your Azure AD
Group"
$Result =
Convert-ObjectIdToSid
$AADGroup
Write-Host
"Your Azure Ad Group SID is"
-ForegroundColor
Yellow $Result
Create XML file containing Azure AD Group SID
<GroupConfiguration>
<accessgroup
desc
=
"S-1-5-32-544"
>
<group
action
=
"U"
/>
<add
member
=
"AzureAD\[email protected]"
/>
<add
member
=
"S-1-12-1-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-
XXXXXXXXXX"
/>