List all the groups available in an organization, excluding dynamic distribution groups.

  • Least Privileged Microsoft Graph permission to access the action via App Registration: GroupMember.Read.All.
  • Higher privileged Microsoft Graph permission to access the action via App Registration: User.ReadWrite.All, Directory.Read.All, Group.ReadWrite.All.

External Documentation

To learn more, visit the Microsoft Teams documentation.

Parameters

ParameterDescription
FilterFilters results (rows). For example: resourceProvisioningOptions/Any(x:x eq ‘Team’).
LimitSpecify the number of teams returned per page in the response. Valid range is 1-999.
Return All PagesAutomatically fetch all resources, page by page.

Example Output

{
	"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups",
	"value": [
		{
			"id": "02bd9fd6-8f93-4758-87c3-1fb73740a315",
			"deletedDateTime": null,
			"classification": null,
			"createdDateTime": "2020-02-04T09:44:33",
			"creationOptions": [
				"<string>"
			],
			"description": "Welcome to the HR Taskforce team.",
			"displayName": "HR Taskforce",
			"expirationDateTime": null,
			"groupTypes": [
				"Unified"
			],
			"isAssignableToRole": null,
			"mail": "<string>",
			"mailEnabled": true,
			"mailNickname": "HRTaskforce",
			"membershipRule": null,
			"membershipRuleProcessingState": null,
			"onPremisesDomainName": null,
			"onPremisesLastSyncDateTime": null,
			"onPremisesNetBiosName": null,
			"onPremisesSamAccountName": null,
			"onPremisesSecurityIdentifier": null,
			"onPremisesSyncEnabled": null,
			"preferredDataLocation": null,
			"preferredLanguage": null,
			"proxyAddresses": [
				"<string>"
			],
			"renewedDateTime": "2023-12-05T12:36:05",
			"resourceBehaviorOptions": [],
			"resourceProvisioningOptions": [
				"Team"
			],
			"securityEnabled": false,
			"securityIdentifier": "<string>",
			"theme": null,
			"uniqueName": null,
			"visibility": "Private",
			"onPremisesProvisioningErrors": [],
			"serviceProvisioningErrors": []
		},
		{
			"id": "8090c93e-ba7c-433e-9f39-08c7ba07c0b3",
			"deletedDateTime": null,
			"classification": null,
			"createdDateTime": "2020-02-04T09:44:33",
			"creationOptions": [
				"<string>"
			],
			"description": "Welcome to the team that we've assembled to launch our product.",
			"displayName": "X1050 Launch Team",
			"expirationDateTime": null,
			"groupTypes": [
				"Unified"
			],
			"isAssignableToRole": null,
			"mail": "<string>",
			"mailEnabled": true,
			"mailNickname": "X1050LaunchTeam",
			"membershipRule": null,
			"membershipRuleProcessingState": null,
			"onPremisesDomainName": null,
			"onPremisesLastSyncDateTime": null,
			"onPremisesNetBiosName": null,
			"onPremisesSamAccountName": null,
			"onPremisesSecurityIdentifier": null,
			"onPremisesSyncEnabled": null,
			"preferredDataLocation": null,
			"preferredLanguage": null,
			"proxyAddresses": [
				"<string>"
			],
			"renewedDateTime": "2023-12-05T12:36:05",
			"resourceBehaviorOptions": [],
			"resourceProvisioningOptions": [
				"Team"
			],
			"securityEnabled": false,
			"securityIdentifier": "<string>",
			"theme": null,
			"uniqueName": null,
			"visibility": "Private",
			"onPremisesProvisioningErrors": [],
			"serviceProvisioningErrors": []
		}
	]
}

Workflow Library Example

List All Teams with Microsoft Teams and Send Results Via Email

Preview this Workflow on desktop