You can find the
objectGUID value for an Active Directory group using the Attribute Editor in the Active Directory Users and Computers (ADUC) console snapin.
The Attribute Editor is part of ADUC's advanced functionality. You can see it is enabled by going to the view menu and looking for a check mark next to the Advanced Features item.
Open the properties dialog of the Active Directory group whose
objectGUID you need to find, and navigate to the Attribute Editor tab. In this list, in alphabetical order, you can find the
objectGUID value for the group.
Unfortunately, the Attribute Editor doesn't provide a way to copy the
objectGUID value. To capture the
objectGUID, you'll need to perform a few extra steps.
- Find the group's Distinguished Name in the Attribute Editor.
- Double click on the entry to bring up the String Attribute Editor window, then copy the entire string.
- Run the following PowerShell code snippet, replacing
__value__with the Distinguished Name you just copied.
Get-ADObject -Identity "__value__" | Select-Object -Property ObjectGUID
You can now easily copy the
objectGUID from the output of the PowerShell code above.
Updated about 4 years ago