Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 337 Bytes

File metadata and controls

15 lines (9 loc) · 337 Bytes

Example 1: Check group memberships for a directory object

Import-Module Microsoft.Graph.DirectoryObjects

$params = @{
	securityEnabledOnly = $false
}

Get-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params

This example will check group memberships for a directory object