GraphGroup
Represents Entra ID groups collected from Microsoft Graph.
Labels: :GraphObject:GraphGroup
Properties:
id- Group object ID (primary key)displayName- Group display namegroupTypes- Array of group types (e.g., ["DynamicMembership", "Unified"])membershipRule- Membership rule for dynamic groupsmembershipRuleProcessingState- State of membership rule processingmailNickname- Mail nickname for the grouponPremisesDomainName- On-premises domain nameonPremisesLastSyncDateTime- Last synchronization with on-premisesonPremisesNetBiosName- On-premises NetBIOS nameonPremisesSamAccountName- On-premises SAM account nameonPremisesSecurityIdentifier- On-premises security identifieronPremisesSyncEnabled- Whether on-premises sync is enabledorganizationId- Organization IDsecurityEnabled- Whether security is enabled for the groupvisibility- Group visibility (Public, Private, etc.)writebackConfigurationEnabled- Whether writeback is enabledwritebackConfigurationGroupType- Group type for writeback
Relationships
Incoming
- GraphObject →
MEMBER_OF→ GraphGroup - Members of the group - GraphObject →
OWNS→ GraphGroup - Owners of the group
Outgoing
- GraphGroup →
MEMBER_OF→ GraphObject - Groups this group is a member of
Examples
// Find all security-enabled groups
MATCH (g:GraphGroup)
WHERE g.securityEnabled = true
RETURN g.displayName, g.groupTypes, g.visibility
// Find dynamic membership groups
MATCH (g:GraphGroup)
WHERE g.membershipRule IS NOT NULL
RETURN g.displayName, g.membershipRule, g.membershipRuleProcessingState
// Find group owners and members
MATCH (owner:GraphObject)-[:OWNS]->(g:GraphGroup)<-[:MEMBER_OF]-(member:GraphObject)
RETURN g.displayName, collect(DISTINCT owner.displayName) AS owners, collect(DISTINCT member.displayName) AS members