Get-AzureADGroupSID
A simple PowerShell script which returns the security identifier (SID) of the requested Azure Active Directory group.
Script requirements
- Azure Active Directory read access.
- Local administrator rights to install the AzueAD module.
How to run the script
Install the script from the PowerShell Gallery.
Install-Script -Name get-azureadgroupsid
Run Get-AzureADGroupSID.ps1
with the -groupName
parameter followed by the name of the group.
.\get-azureadgroupsid.ps1 -groupName "GROUP NAME"
User Experience
Acknowledgements
The function which converts the objectID to the SID was created by Oliver Kieselbach.