ESC
Type to search...

Group.Read.All

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read All Resources

Allows the app to read group properties and memberships, and read conversations for all groups, without a signed-in user.

Delegated Access App-Only Access

Permission Details

Application Permission

Read all groups

Allows the app to read group properties and memberships, and read conversations for all groups, without a signed-in user.

Delegated Permission Admin consent required

Read all groups

Allows the app to list groups, and to read their properties and all group memberships on behalf of the signed-in user. Also allows the app to read calendar, conversations, files, and other group content for all groups the signed-in user can access.

Properties

Property Type Description
id string The unique identifier for an entity. Read-only.
nextVersionDefinition object Definition of the next version of this definition
classType microsoft.graph.groupPolicyDefinitionClassType
lastModifiedDateTime date-time The date and time the entity was last modified.
displayName stringNullable The localized policy name.
version stringNullable Setting definition version
categoryPath stringNullable The localized full category path for the policy.
presentations microsoft.graph.groupPolicyPresentation collection The group policy presentations associated with the definition.
minUserCspVersion stringNullable Minimum required CSP version for user configuration in this definition
category object The group policy category associated with the definition.
definitionFile object The group policy file associated with the definition.
previousVersionDefinition object Definition of the previous version of this definition
groupPolicyCategoryId uuid The category id of the parent category
supportedOn stringNullable Localized string used to specify what operating system or application version is affected by the policy.
hasRelatedDefinitions boolean Signifies whether or not there are related definitions to this definition

Showing 15 of 18 properties. View all on Microsoft Learn →

Relationships

Relationship Type Description
members directoryObject collection Direct members of this group, who can be users, devices, other groups, or service principals.
owners directoryObject collection The owners of the group who can be users or service principals.
memberOf directoryObject collection Groups and administrative units that this group is a member of. Read-only. Nullable.
transitiveMembers directoryObject collection The direct and transitive members of a group. Nullable.
transitiveMemberOf directoryObject collection Groups that this group is a member of, including nested. Read-only.
drive drive The group's default drive. Read-only.
drives drive collection The group's drives. Read-only.
sites site collection The list of SharePoint sites in this group. Access the default site with /sites/root.
threads conversationThread collection The group's conversation threads. Nullable.
conversations conversation collection The group's conversations. Nullable.
calendar calendar The group's calendar. Read-only.
calendarView event collection The calendar view for the calendar. Read-only.
events event collection The group's calendar events.
photo profilePhoto The group's profile photo.
photos profilePhoto collection The profile photos owned by the group. Read-only. Nullable.
team team The team associated with this group.
onenote onenote The group's OneNote notebooks. Read-only.
planner plannerGroup Selective Planner services available to the group. Read-only. Nullable.

Graph Methods

Delegated access App-only access
Methods
GET /contacts/{id}/directReports
GET /contacts/{id}/manager
GET /contacts/{id}/memberOf
GET /contacts/{id}/transitiveMemberOf
GET /devices/{Id}/extensions/{extensionId}
GET /directory/deletedItems/{object-id}
GET /directory/deletedItems/microsoft.graph.administrativeUnit
GET /directory/deletedItems/microsoft.graph.application
GET /directory/deletedItems/microsoft.graph.certificateAuthorityDetail
GET /directory/deletedItems/microsoft.graph.certificateBasedAuthPki
GET /directory/deletedItems/microsoft.graph.group
GET /directory/deletedItems/microsoft.graph.servicePrincipal
GET /directory/deletedItems/microsoft.graph.user
GET /directoryObjects/delta?$filter=isof('microsoft.graph.administrativeUnit')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.application')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.appRoleAssignment') or isof('microsoft.graph.user')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.device')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.directoryRole')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.group')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.orgContact')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.servicePrincipal')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.user')
GET /drive/root/createdByUser/planner/plans
GET /drives/{drive-id}/items/{item-id}
GET /drives/{drive-id}/root:/{item-path}
GET /groups
GET /groups/{group-id}/drive/items/{item-id}
GET /groups/{group-id}/drive/root:/{item-path}
GET /groups/{group-id}/permissionGrants
GET /groups/{group-id}/planner/plans
GET /groups/{groupId}/conversations/{conversationId}/threads/{threadId}/posts
GET /groups/{groupId}/threads/{threadId}/posts
GET /groups/{id}
GET /groups/{id}/acceptedSenders
GET /groups/{id}/calendar
GET /groups/{id}/calendar/events
GET /groups/{id}/calendar/events/{id}
GET /groups/{id}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /groups/{id}/conversations
GET /groups/{id}/conversations/{id}
GET /groups/{id}/conversations/{id}/threads
GET /groups/{id}/conversations/{id}/threads/{id}
GET /groups/{id}/conversations/{id}/threads/{id}/posts/{id}
GET /groups/{id}/conversations/{id}/threads/{id}/posts/{id}/attachments
GET /groups/{id}/events
GET /groups/{id}/events/{id}
GET /groups/{Id}/events/{Id}/extensions/{extensionId}
GET /groups/{Id}/extensions/{extensionId}
GET /groups/{id}/memberOf
GET /groups/{id}/members
GET /groups/{id}/owners
GET /groups/{id}/photo/$value
GET /groups/{id}/photos
GET /groups/{id}/rejectedSenders
GET /groups/{id}/threads
GET /groups/{id}/threads/{id}
GET /groups/{id}/threads/{id}/posts/{id}
GET /groups/{id}/threads/{id}/posts/{id}/attachments
GET /groups/{Id}/threads/{Id}/posts/{Id}/extensions/{extensionId}
GET /groups/{id}/transitiveMemberOf
GET /groups/{id}/transitiveMembers
GET /groups/delta
GET /groupSettings
GET /groupSettings/{groupSettingId}
GET /me/calendar
GET /me/calendar/events
GET /me/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
GET /me/contacts/{id}/photo/$value
GET /me/drive/items/{item-id}
GET /me/drive/root:/{item-path}
GET /me/events/{id}/attachments/{id}
GET /me/events/{id}/attachments/{id}/$value
GET /me/mailFolders/{id}/messages/{id}?$expand=multiValueExtendedProperties($filter=id eq '{id_value}')
GET /me/mailFolders/{id}/messages/{id}?$expand=singleValueExtendedProperties($filter=id eq '{id_value}')
GET /me/messages/{id}?$expand=multiValueExtendedProperties($filter=id eq '{id_value}')
GET /me/messages/{id}?$expand=singleValueExtendedProperties($filter=id eq '{id_value}')
GET /me/photo/$value
GET /me/planner/plans
GET /me/planner/tasks
GET /me/transitiveMemberOf
GET /organization/{Id}/extensions/{extensionId}
GET /planner/buckets
GET /planner/buckets/{id}
GET /planner/buckets/{id}/tasks
GET /planner/plans
GET /planner/plans/{id}/details
GET /planner/plans/{plan-id}
GET /planner/plans/{plan-id}/buckets
GET /planner/plans/{plan-id}/tasks
GET /planner/tasks
GET /planner/tasks/{id}
GET /planner/tasks/{id}/assignedToTaskBoardFormat
GET /planner/tasks/{id}/bucketTaskBoardFormat
GET /planner/tasks/{id}/details
GET /planner/tasks/{id}/progressTaskBoardFormat
GET /servicePrincipals(appId='{client-servicePrincipal-appId}')/appRoleAssignments/{appRoleAssignment-id}
GET /servicePrincipals/{client-serviceprincipal-id}/appRoleAssignments/{appRoleAssignment-id}
GET /sites/{site-id}/drive/items/{item-id}
GET /sites/{site-id}/drive/root:/{item-path}
GET /sites/{site-id}/lists/{list-id}/items/{item-id}/driveItem
GET /subscriptions
GET /subscriptions/{id}
GET /teams/{id}/channels/{id}/filesFolder
GET /teams/{id}/channels/{id}/tabs
GET /teams/{id}/installedApps/{id}
GET /teams/{id}/photo/$value
GET /teams/{id}/schedule/openShiftChangeRequests
GET /teams/{id}/schedule/openShiftChangeRequests/{openShiftsChangeRequestId}
GET /teams/{id}/schedule/openShifts
GET /teams/{id}/schedule/openShifts/{openShiftId}
GET /teams/{team-id}
GET /teams/{team-id}/channels
GET /teams/{team-id}/channels/{channel-id}
GET /teams/{team-id}/channels/{channel-id}/members
GET /teams/{team-id}/channels/{channel-id}/messages
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies/{reply-id}
GET /teams/{team-id}/channels/{channel-id}/tabs/{tab-id}
GET /teams/{team-id}/installedApps
GET /teams/{teamId}/schedule
GET /teams/{teamId}/schedule/offerShiftRequests/{offerShiftRequestId}
GET /teams/{teamId}/schedule/schedulingGroups
GET /teams/{teamId}/schedule/schedulingGroups/{schedulingGroupId}
GET /teams/{teamId}/schedule/shifts
GET /teams/{teamId}/schedule/shifts/{shiftId}
GET /teams/{teamId}/schedule/swapShiftsChangeRequests
GET /teams/{teamId}/schedule/timeOffReasons
GET /teams/{teamId}/schedule/timeOffReasons/{timeOffReasonId}
GET /teams/{teamId}/schedule/timeOffRequests
GET /teams/{teamId}/schedule/timeOffRequests/{timeOffRequestId}
GET /teams/{teamId}/schedule/timesOff
GET /teams/{teamId}/schedule/timesOff/{timeOffId}
GET /users/{id | userPrincipalName}/calendar
GET /users/{id | userPrincipalName}/calendar/events
GET /users/{id | userPrincipalName}/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
GET /users/{id | userPrincipalName}/contacts/{id}/photo/$value
GET /users/{id | userPrincipalName}/events/{id}/attachments/{id}
GET /users/{id | userPrincipalName}/events/{id}/attachments/{id}/$value
GET /users/{id | userPrincipalName}/joinedGroups/{id}/photos
GET /users/{id | userPrincipalName}/photo/$value
GET /users/{id}/calendar/calendarPermissions
GET /users/{id}/calendar/calendarPermissions/{id}
GET /users/{id}/planner/plans
GET /users/{id}/planner/tasks
GET /users/{Id|userPrincipalName}/contacts/{Id}/extensions/{extensionId}
GET /users/{Id|userPrincipalName}/events/{Id}/extensions/{extensionId}
GET /users/{Id|userPrincipalName}/extensions/{extensionId}
GET /users/{id|userPrincipalName}/messages/{id}?$expand=multiValueExtendedProperties($filter=id eq '{id_value}')
GET /users/{id|userPrincipalName}/messages/{id}?$expand=singleValueExtendedProperties($filter=id eq '{id_value}')
GET /users/{Id|userPrincipalName}/messages/{Id}/extensions/{extensionId}
GET /users/{Id|userPrincipalName}/todo/lists/{todoTaskListId}/extensions/{extensionId}
GET /users/{Id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{taskId}/extensions/{extensionId}
GET /users/{user-id | userPrincipalName}/drive/items/{item-id}
GET /users/{user-id | userPrincipalName}/drive/root:/{item-path}
POST /directory/deletedItems/getUserOwnedObjects
POST /directoryObjects/{id}/checkMemberGroups
POST /directoryObjects/{id}/checkMemberObjects
POST /directoryObjects/{id}/getMemberGroups
POST /directoryObjects/{id}/getMemberObjects
POST /directoryObjects/validateProperties
POST /groups/{groupId}/appRoleAssignments
POST /groups/{id}/validateProperties
POST /subscriptions
POST /subscriptions/{subscriptionsId}/reauthorize
POST /teams/{id}/schedule/openShifts
POST /users/{id}/calendar/calendarPermissions
PATCH /subscriptions/{id}
PUT /teams/{teamId}/schedule/timesOff/{timeOffId}
DELETE /groups/{id}/appRoleAssignments/{id}
DELETE /subscriptions/{subscription-id}
Methods
GET /administrativeUnits/{administrativeUnitId}/extensions/{extensionId}
GET /contacts/{id}/directReports
GET /contacts/{id}/manager
GET /contacts/{id}/memberOf
GET /contacts/{id}/transitiveMemberOf
GET /devices/{deviceId}/extensions/{extensionId}
GET /directory/deleteditems/{object-id}
GET /directory/deletedItems/microsoft.graph.administrativeUnit
GET /directory/deleteditems/microsoft.graph.application
GET /directory/deletedItems/microsoft.graph.certificateAuthorityDetail
GET /directory/deletedItems/microsoft.graph.certificateBasedAuthPki
GET /directory/deletedItems/microsoft.graph.externalUserProfile
GET /directory/deleteditems/microsoft.graph.group
GET /directory/deletedItems/microsoft.graph.pendingExternalUserProfile
GET /directory/deleteditems/microsoft.graph.servicePrincipal
GET /directory/deletedItems/microsoft.graph.user
GET /directoryObjects/delta?$filter=isof('microsoft.graph.administrativeUnit')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.application')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.device')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.directoryRole')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.group')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.orgContact')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.servicePrincipal')
GET /directoryObjects/delta?$filter=isof('microsoft.graph.user')
GET /drive/items/{itemId}/extensions/{extensionId}
GET /drive/root/createdByUser/planner/plans
GET /drives/{drive-id}/items/{item-id}
GET /drives/{drive-id}/root:/{item-path}
GET /groups
GET /groups/{group-id}/drive/items/{item-id}
GET /groups/{group-id}/drive/root:/{item-path}
GET /groups/{group-id}/permissionGrants
GET /groups/{group-id}/planner/plans
GET /groups/{groupId}/cloudLicensing/usageRights
GET /groups/{groupId}/conversations/{conversationId}/threads/{threadId}/posts
GET /groups/{groupId}/events/{eventId}/extensions/{extensionId}
GET /groups/{groupId}/extensions/{extensionId}
GET /groups/{groupId}/threads/{threadId}/posts
GET /groups/{groupId}/threads/{threadId}/posts/{postId}/extensions/{extensionId}
GET /groups/{id}
GET /groups/{id}/acceptedSenders
GET /groups/{id}/calendar
GET /groups/{id}/calendar/events
GET /groups/{id}/calendar/events/{id}
GET /groups/{id}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /groups/{id}/conversations
GET /groups/{id}/conversations/{id}
GET /groups/{id}/conversations/{id}/threads
GET /groups/{id}/conversations/{id}/threads/{id}
GET /groups/{id}/conversations/{id}/threads/{id}/posts/{id}
GET /groups/{id}/conversations/{id}/threads/{id}/posts/{id}/attachments
GET /groups/{id}/endpoints
GET /groups/{id}/endpoints/{id}
GET /groups/{id}/events
GET /groups/{id}/events/{id}
GET /groups/{id}/memberOf
GET /groups/{id}/members
GET /groups/{id}/owners
GET /groups/{id}/photo/$value
GET /groups/{id}/photos
GET /groups/{id}/rejectedSenders
GET /groups/{id}/threads
GET /groups/{id}/threads/{id}
GET /groups/{id}/threads/{id}/posts/{id}
GET /groups/{id}/threads/{id}/posts/{id}/attachments
GET /groups/{id}/transitiveMemberOf
GET /groups/{id}/transitiveMembers
GET /groups/delta
GET /me/calendar
GET /me/calendar/events
GET /me/cloudLicensing/usageRights/{usageRightId}
GET /me/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
GET /me/contacts/{id}/photo/$value
GET /me/drive/items/{item-id}
GET /me/drive/root:/{item-path}
GET /me/events/{id}/attachments/{id}
GET /me/events/{id}/attachments/{id}/$value
GET /me/mailFolders/{id}/messages/{id}?$expand=multiValueExtendedProperties($filter=id eq '{id_value}')
GET /me/mailFolders/{id}/messages/{id}?$expand=singleValueExtendedProperties($filter=id eq '{id_value}')
GET /me/messages/{id}?$expand=multiValueExtendedProperties($filter=id eq '{id_value}')
GET /me/messages/{id}?$expand=singleValueExtendedProperties($filter=id eq '{id_value}')
GET /me/photo/$value
GET /me/planner
GET /me/planner/all/delta
GET /me/planner/favoritePlans
GET /me/planner/plans
GET /me/planner/recentPlans
GET /me/planner/tasks
GET /me/transitiveMemberOf
GET /organization/{organizationId}/extensions/{extensionId}
GET /planner/buckets
GET /planner/buckets/{id}
GET /planner/buckets/{id}/tasks
GET /planner/plans
GET /planner/plans/{id}/details
GET /planner/plans/{plan-id}
GET /planner/plans/{plan-id}/buckets
GET /planner/plans/{plan-id}/tasks
GET /planner/tasks
GET /planner/tasks/{id}
GET /planner/tasks/{id}/assignedToTaskBoardFormat
GET /planner/tasks/{id}/bucketTaskBoardFormat
GET /planner/tasks/{id}/details
GET /planner/tasks/{id}/progressTaskBoardFormat
GET /servicePrincipals(appId='{client-servicePrincipal-appId}')/appRoleAssignments/{appRoleAssignment-id}
GET /servicePrincipals/{client-serviceprincipal-id}/appRoleAssignments/{appRoleAssignment-id}
GET /settings
GET /settings/{directorySettingId}
GET /sites/{siteId}/drive/items/{itemId}
GET /sites/{siteId}/drive/root:/{item-path}
GET /sites/{siteId}/extensions/{extensionId}
GET /subscriptions
GET /subscriptions/{id}
GET /subscriptions/getVapidPublicKey
GET /teams/{id}/channels/{id}/filesFolder
GET /teams/{id}/installedApps/{id}
GET /teams/{id}/photo/$value
GET /teams/{id}/schedule/openShiftChangeRequests
GET /teams/{id}/schedule/openShiftChangeRequests/{openShiftsChangeRequestId}
GET /teams/{id}/schedule/openShifts
GET /teams/{id}/schedule/openShifts/{openShiftId}
GET /teams/{team-id}
GET /teams/{team-id}/channels
GET /teams/{team-id}/channels/{channel-id}
GET /teams/{team-id}/channels/{channel-id}/members
GET /teams/{team-id}/channels/{channel-id}/messages
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/hostedContents
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/hostedContents/{hosted-content-id}
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies/{reply-id}
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies/{reply-id}/hostedContents
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies/{reply-id}/hostedContents/{hosted-content-id}
GET /teams/{team-id}/channels/{channel-id}/tabs
GET /teams/{team-id}/channels/{channel-id}/tabs/{tab-id}
GET /teams/{team-id}/installedApps
GET /teams/{teamId}/channels/{channelId}/filesFolder
GET /teams/{teamId}/schedule
GET /teams/{teamId}/schedule/offerShiftRequests/{offerShiftRequestId}
GET /teams/{teamId}/schedule/schedulingGroups
GET /teams/{teamId}/schedule/schedulingGroups/{schedulingGroupId}
GET /teams/{teamId}/schedule/shifts
GET /teams/{teamId}/schedule/shifts/{shiftId}
GET /teams/{teamId}/schedule/swapShiftsChangeRequests
GET /teams/{teamId}/schedule/timeOffReasons
GET /teams/{teamId}/schedule/timeOffReasons/{timeOffReasonId}
GET /teams/{teamId}/schedule/timeOffRequests
GET /teams/{teamId}/schedule/timeOffRequests/{timeOffRequestId}
GET /teams/{teamId}/schedule/timesOff
GET /teams/{teamId}/schedule/timesOff/{timeOffId}
GET /users/{id | userPrincipalName}/calendar
GET /users/{id | userPrincipalName}/calendar/events
GET /users/{id | userPrincipalName}/contactfolders/{contactFolderId}/contacts/{id}/photo/$value
GET /users/{id | userPrincipalName}/contacts/{id}/photo/$value
GET /users/{id | userPrincipalName}/events/{id}/attachments/{id}
GET /users/{id | userPrincipalName}/events/{id}/attachments/{id}/$value
GET /users/{id | userPrincipalName}/joinedGroups/{id}/photos
GET /users/{id | userPrincipalName}/photo/$value
GET /users/{id}/calendar/calendarPermissions
GET /users/{id}/calendar/calendarPermissions/{id}
GET /users/{id}/planner
GET /users/{id}/planner/all/delta
GET /users/{id}/planner/favoritePlans
GET /users/{id}/planner/plans
GET /users/{id}/planner/recentPlans
GET /users/{id}/planner/tasks
GET /users/{Id|userPrincipalName}/events/{eventId}/extensions/{extensionId}
GET /users/{id|userPrincipalName}/messages/{id}?$expand=multiValueExtendedProperties($filter=id eq '{id_value}')
GET /users/{id|userPrincipalName}/messages/{id}?$expand=singleValueExtendedProperties($filter=id eq '{id_value}')
GET /users/{userId | userPrincipalName}/drive/items/{item-id}
GET /users/{userId | userPrincipalName}/drive/root:/{item-path}
GET /users/{userId}/cloudLicensing/usageRights/{usageRightId}
GET /users/{userId|userPrincipalName}/contacts/{contactId}/extensions/{extensionId}
GET /users/{userId|userPrincipalName}/extensions/{extensionId}
GET /users/{userId|userPrincipalName}/messages/{messageId}/extensions/{extensionId}
GET /users/{userId|userPrincipalName}/tasks/lists/{listId}/extensions/{extensionId}
GET /users/{userId|userPrincipalName}/tasks/lists/{listId}/tasks/{baseTaskId}/extensions/{extensionId}
GET /users/{userId|userPrincipalName}/todo/lists/{listId}/extensions/{extensionId}
GET /users/{userId|userPrincipalName}/todo/lists/{listId}/tasks/{todoTaskId}/extensions/{extensionId}
POST /directory/deletedItems/getUserOwnedObjects
POST /directoryObjects/{id}/checkMemberGroups
POST /directoryObjects/{id}/checkMemberObjects
POST /directoryObjects/{id}/getMemberGroups
POST /directoryObjects/{id}/getMemberObjects
POST /directoryObjects/validateProperties
POST /groups/{groupId}/appRoleAssignments
POST /groups/{id}/evaluateDynamicMembership
POST /groups/{id}/validateProperties
POST /groups/evaluateDynamicMembership
POST /subscriptions
POST /subscriptions/{subscriptionsId}/reauthorize
POST /teams/{id}/schedule/openShifts
POST /users/{id}/calendar/calendarPermissions
PATCH /subscriptions/{id}
PUT /teams/{teamId}/schedule/timesOff/{timeOffId}
DELETE /groups/{id}/appRoleAssignments/{id}
DELETE /subscriptions/{subscription-id}
Commands
Confirm-MgUserMemberGroup
Confirm-MgUserMemberObject
Get-MgChatMessage
Get-MgContactDirectReport
Get-MgContactManager
Get-MgContactMemberOf
Get-MgContactTransitiveMemberOf
Get-MgDirectoryDeletedItem
Get-MgDirectoryDeletedItemAsGroup
Get-MgDirectoryObjectDelta
Get-MgDirectoryObjectMemberObject
Get-MgDriveRoot
Get-MgGroup
Get-MgGroupAcceptedSender
Get-MgGroupConversation
Get-MgGroupConversationThread
Get-MgGroupDelta
Get-MgGroupEvent
Get-MgGroupMember
Get-MgGroupMemberOfAsGroup
Get-MgGroupOwner
Get-MgGroupPermissionGrant
Get-MgGroupPhoto
Get-MgGroupPlannerPlan
Get-MgGroupRejectedSender
Get-MgGroupSetting
Get-MgGroupThread
Get-MgGroupThreadPost
Get-MgGroupThreadPostAttachment
Get-MgGroupTransitiveMemberAsUser
Get-MgGroupTransitiveMemberOf
Get-MgPlannerBucket
Get-MgPlannerBucketTask
Get-MgPlannerPlan
Get-MgPlannerPlanBucket
Get-MgPlannerPlanDetail
Get-MgPlannerPlanTask
Get-MgPlannerTask
Get-MgPlannerTaskAssignedToTaskBoardFormat
Get-MgPlannerTaskBucketTaskBoardFormat
Get-MgPlannerTaskDetail
Get-MgPlannerTaskProgressTaskBoardFormat
Get-MgSubscription
Get-MgTeam
Get-MgTeamChannel
Get-MgTeamChannelFileFolder
Get-MgTeamChannelMessage
Get-MgTeamChannelMessageReply
Get-MgTeamChannelTab
Get-MgTeamInstalledApp
Get-MgTeamPhotoContent
Get-MgTeamSchedule
Get-MgTeamScheduleOfferShiftRequest
Get-MgTeamScheduleOpenShift
Get-MgTeamScheduleOpenShiftChangeRequest
Get-MgTeamScheduleSchedulingGroup
Get-MgTeamScheduleShift
Get-MgTeamScheduleSwapShiftChangeRequest
Get-MgTeamScheduleTimeOff
Get-MgTeamScheduleTimeOffReason
Get-MgTeamScheduleTimeOffRequest
Get-MgUserAppRoleAssignment
Get-MgUserCalendarPermission
Get-MgUserDefaultCalendar
Get-MgUserDefaultCalendarEvent
Get-MgUserEvent
Get-MgUserMemberGroup
Get-MgUserMessage
Get-MgUserMessageAttachment
Get-MgUserPlannerPlan
Get-MgUserPlannerTask
Get-MgUserTransitiveMemberOf
Invoke-MgReauthorizeSubscription
New-MgGroupAppRoleAssignment
New-MgSubscription
New-MgTeamScheduleOpenShift
New-MgUserCalendarPermission
Remove-MgGroupAppRoleAssignment
Remove-MgSubscription
Test-MgDirectoryObjectProperty
Test-MgGroupProperty
Update-MgSubscription
Update-MgTeamScheduleTimeOff
Commands
Confirm-MgBetaUserMemberGroup
Confirm-MgBetaUserMemberObject
Get-MgBetaAdministrativeUnitUserOwnedObject
Get-MgBetaApplicationUserOwnedObject
Get-MgBetaChatMessage
Get-MgBetaChatMessageHostedContent
Get-MgBetaContactDirectReport
Get-MgBetaContactManager
Get-MgBetaContactMemberOf
Get-MgBetaContactTransitiveMemberOf
Get-MgBetaContactUserOwnedObject
Get-MgBetaContractUserOwnedObject
Get-MgBetaDeviceUserOwnedObject
Get-MgBetaDirectoryDeletedItem
Get-MgBetaDirectoryDeletedItemAsGroup
Get-MgBetaDirectoryObjectDelta
Get-MgBetaDirectoryObjectUserOwnedObject
Get-MgBetaDirectoryRoleTemplateUserOwnedObject
Get-MgBetaDirectoryRoleUserOwnedObject
Get-MgBetaDirectorySetting
Get-MgBetaDirectorySettingTemplateUserOwnedObject
Get-MgBetaDriveItem
Get-MgBetaDriveRoot
Get-MgBetaGroup
Get-MgBetaGroupAcceptedSender
Get-MgBetaGroupConversation
Get-MgBetaGroupConversationThread
Get-MgBetaGroupDelta
Get-MgBetaGroupEndpoint
Get-MgBetaGroupEvent
Get-MgBetaGroupMemberAsServicePrincipal
Get-MgBetaGroupMemberOfAsGroup
Get-MgBetaGroupOwner
Get-MgBetaGroupPermissionGrant
Get-MgBetaGroupPhoto
Get-MgBetaGroupPhotoContent
Get-MgBetaGroupPlannerPlan
Get-MgBetaGroupRejectedSender
Get-MgBetaGroupThread
Get-MgBetaGroupThreadPost
Get-MgBetaGroupThreadPostAttachment
Get-MgBetaGroupTransitiveMemberAsUser
Get-MgBetaGroupTransitiveMemberOf
Get-MgBetaGroupUserOwnedObject
Get-MgBetaOrganizationUserOwnedObject
Get-MgBetaPlannerBucket
Get-MgBetaPlannerBucketTask
Get-MgBetaPlannerPlan
Get-MgBetaPlannerPlanBucket
Get-MgBetaPlannerPlanDetail
Get-MgBetaPlannerPlanTask
Get-MgBetaPlannerTask
Get-MgBetaPlannerTaskAssignedToTaskBoardFormat
Get-MgBetaPlannerTaskBucketTaskBoardFormat
Get-MgBetaPlannerTaskDetail
Get-MgBetaPlannerTaskProgressTaskBoardFormat
Get-MgBetaServicePrincipalUserOwnedObject
Get-MgBetaSubscription
Get-MgBetaSubscriptionVapidPublicKey
Get-MgBetaTeam
Get-MgBetaTeamChannel
Get-MgBetaTeamChannelFileFolder
Get-MgBetaTeamChannelMessage
Get-MgBetaTeamChannelMessageReply
Get-MgBetaTeamChannelTab
Get-MgBetaTeamInstalledApp
Get-MgBetaTeamPhotoContent
Get-MgBetaTeamSchedule
Get-MgBetaTeamScheduleOfferShiftRequest
Get-MgBetaTeamScheduleOpenShift
Get-MgBetaTeamScheduleOpenShiftChangeRequest
Get-MgBetaTeamScheduleSchedulingGroup
Get-MgBetaTeamScheduleShift
Get-MgBetaTeamScheduleSwapShiftChangeRequest
Get-MgBetaTeamScheduleTimeOff
Get-MgBetaTeamScheduleTimeOffReason
Get-MgBetaTeamScheduleTimeOffRequest
Get-MgBetaUserAppRoleAssignment
Get-MgBetaUserCalendarPermission
Get-MgBetaUserContactFolderContactPhotoContent
Get-MgBetaUserContactPhotoContent
Get-MgBetaUserDefaultCalendar
Get-MgBetaUserDefaultCalendarEvent
Get-MgBetaUserEventAttachment
Get-MgBetaUserMemberGroup
Get-MgBetaUserMemberObject
Get-MgBetaUserMessage
Get-MgBetaUserOwnedObjectByType
Get-MgBetaUserPhotoContent
Get-MgBetaUserPlanner
Get-MgBetaUserPlannerAllDelta
Get-MgBetaUserPlannerFavoritePlan
Get-MgBetaUserPlannerPlan
Get-MgBetaUserPlannerRecentPlan
Get-MgBetaUserPlannerTask
Get-MgBetaUserTransitiveMemberOf
Invoke-MgBetaReauthorizeSubscription
New-MgBetaGroupAppRoleAssignment
New-MgBetaSubscription
New-MgBetaTeamScheduleOpenShift
New-MgBetaUserCalendarPermission
Remove-MgBetaGroupAppRoleAssignment
Remove-MgBetaSubscription
Test-MgBetaDirectoryObjectProperty
Test-MgBetaGroupDynamicMembershipRule
Test-MgBetaGroupProperty
Update-MgBetaSubscription
Update-MgBetaTeamScheduleTimeOff

Code Examples

C# / .NET SDK
// Install: dotnet add package Microsoft.Graph
// Install: dotnet add package Azure.Identity
using Microsoft.Graph;
using Azure.Identity;

// Delegated permissions - interactive user sign-in
var scopes = new[] { "Group.Read.All" };
var options = new InteractiveBrowserCredentialOptions
{
    ClientId = "YOUR_CLIENT_ID",
    TenantId = "YOUR_TENANT_ID",
    RedirectUri = new Uri("http://localhost")
};
var credential = new InteractiveBrowserCredential(options);
var graphClient = new GraphServiceClient(credential, scopes);

// Example: GET /me
var result = await graphClient.Me.GetAsync();
Console.WriteLine($"User: {result?.DisplayName}");

// Application permissions - daemon/service app
var tenantId = "YOUR_TENANT_ID";
var clientId = "YOUR_CLIENT_ID";
var clientSecret = "YOUR_CLIENT_SECRET";

var credential = new ClientSecretCredential(tenantId, clientId, clientSecret);
var graphClient = new GraphServiceClient(credential);

// Example: GET /users/{user-id}
var users = await graphClient.Users.GetAsync();
foreach (var user in users?.Value ?? [])
{
    Console.WriteLine($"User: {user.DisplayName}");
}
JavaScript / TypeScript
// npm install @azure/msal-browser @microsoft/microsoft-graph-client
import { PublicClientApplication } from "@azure/msal-browser";
import { Client } from "@microsoft/microsoft-graph-client";
import { AuthCodeMSALBrowserAuthenticationProvider } from 
    "@microsoft/microsoft-graph-client/authProviders/authCodeMsalBrowser";

const msalConfig = {
    auth: {
        clientId: "YOUR_CLIENT_ID",
        authority: "https://login.microsoftonline.com/YOUR_TENANT_ID"
    }
};

const pca = new PublicClientApplication(msalConfig);
await pca.initialize();

// Delegated: Login with required scope
const loginResponse = await pca.loginPopup({
    scopes: ["Group.Read.All"]
});

const authProvider = new AuthCodeMSALBrowserAuthenticationProvider(pca, {
    account: loginResponse.account,
    scopes: ["Group.Read.All"],
    interactionType: "popup"
});

const graphClient = Client.initWithMiddleware({ authProvider });

// Example: GET /me
const result = await graphClient.api("/me").get();
console.log(result);

// Application: Use client credentials (Node.js backend only)
// npm install @azure/identity @microsoft/microsoft-graph-client
import { ClientSecretCredential } from "@azure/identity";
import { TokenCredentialAuthenticationProvider } from 
    "@microsoft/microsoft-graph-client/authProviders/azureTokenCredentials";

const credential = new ClientSecretCredential(
    "YOUR_TENANT_ID",
    "YOUR_CLIENT_ID", 
    "YOUR_CLIENT_SECRET"
);

const authProvider = new TokenCredentialAuthenticationProvider(credential, {
    scopes: ["https://graph.microsoft.com/.default"]
});

const graphClient = Client.initWithMiddleware({ authProvider });
const result = await graphClient.api("/users").get();
console.log(result);
PowerShell
# Install Microsoft Graph PowerShell module
Install-Module Microsoft.Graph -Scope CurrentUser

# Delegated access - interactive sign-in
Connect-MgGraph -Scopes "Group.Read.All"

# Verify connection
Get-MgContext | Select-Object Account, TenantId, Scopes

# Example: GET /me
$result = Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/me"
$result | ConvertTo-Json -Depth 5

# Application access with certificate
$params = @{
    ClientId = "YOUR_CLIENT_ID"
    TenantId = "YOUR_TENANT_ID"
    CertificateThumbprint = "YOUR_CERT_THUMBPRINT"
}
Connect-MgGraph @params

# Or with client secret (not recommended for production)
# Connect-MgGraph -ClientSecretCredential $credential

# Example: GET /users
$result = Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/users"
$result | ConvertTo-Json -Depth 5

# Always disconnect when done
Disconnect-MgGraph
Python
# pip install msgraph-sdk azure-identity
from azure.identity import InteractiveBrowserCredential, ClientSecretCredential
from msgraph import GraphServiceClient
import asyncio

# Delegated permissions - interactive browser sign-in
credential = InteractiveBrowserCredential(
    client_id="YOUR_CLIENT_ID",
    tenant_id="YOUR_TENANT_ID"
)
scopes = ["Group.Read.All"]
client = GraphServiceClient(credential, scopes)

async def get_data():
    # Example: GET /me
    result = await client.me.get()
    print(f"User: {result.display_name}")
    return result

asyncio.run(get_data())

# Application permissions - client credentials
credential = ClientSecretCredential(
    tenant_id="YOUR_TENANT_ID",
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET"
)
scopes = ["https://graph.microsoft.com/.default"]
client = GraphServiceClient(credential, scopes)

async def get_users():
    # Example: GET /users
    result = await client.users.get()
    for user in result.value:
        print(f"User: {user.display_name}")
    return result

asyncio.run(get_users())

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or Delegated permissions and search for Group.Read.All

4

Grant Admin Consent

Application permissions always require admin consent. Click "Grant admin consent" in the Azure portal.