List Groups
List all the groups available in an organization, excluding dynamic distribution groups. Optional - when using the Filter by Group Name parameter, the output will be filtered to only the selected group by the given name. For more information see Microsoft's documentation.
- Least privileged Microsoft Graph permission to access the action via application:
GroupMember.Read.All
. - Higher privileged Microsoft Graph permissions to access the action via application:
Directory.Read.All
,Group.ReadWrite.All
,GroupMember.ReadWrite.All
,Group.Read.All
.
note
This action might have replication delays for groups that were recently created, updated, or deleted.
External Documentation
To learn more, visit the Microsoft Entra ID documentation.
Parameters
Parameter | Description |
---|---|
Filter | The filter to apply on the operation. You can filter by display name, tag names, values etc. For example, to filter for a display name use displayName eq 'GroupName'.For more information about group fields: https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties |
Example Output
[
{
"id": "02b534c1-2d64-44f4-9f01-e6ea79065991",
"deletedDateTime": null,
"classification": null,
"createdDateTime": "2022-12-20T15:00:49Z",
"creationOptions": [
"ProvisionGroupHomepage",
"HubSiteId:00000000-0000-0000-0000-000000000000",
"SPSiteLanguage:1033",
"AllowFileSharingForGuestUsers"
],
"description": "<GROUP DESCRIPTION>",
"displayName": "<GROUP NAME>",
"expirationDateTime": null,
"groupTypes": [
"Unified"
],
"isAssignableToRole": null,
"mail": "test@example.com",
"mailEnabled": true,
"mailNickname": "<NICKNAME>",
"membershipRule": null,
"membershipRuleProcessingState": null,
"onPremisesDomainName": null,
"onPremisesLastSyncDateTime": null,
"onPremisesNetBiosName": null,
"onPremisesSamAccountName": null,
"onPremisesSecurityIdentifier": null,
"onPremisesSyncEnabled": null,
"preferredDataLocation": null,
"preferredLanguage": null,
"proxyAddresses": [
"SPO:<SPO>",
"SMTP:<SMTP>"
],
"renewedDateTime": "2022-12-20T15:00:49Z",
"resourceBehaviorOptions": [],
"resourceProvisioningOptions": [],
"securityEnabled": false,
"securityIdentifier": "example",
"theme": null,
"visibility": "Public",
"onPremisesProvisioningErrors": []
}
]
Workflow Library Example
Temporarily Add a User to a Group with Active Directory
Preview this Workflow on desktop