Skip to content

Commit

Permalink
Merge pull request #380 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Update permissions descriptions with new scopes from Service Principal. (#379)
  • Loading branch information
millicentachieng authored Sep 1, 2023
2 parents f2c92cd + c39f676 commit 92c7ad3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
21 changes: 21 additions & 0 deletions permissions/permissions-descriptions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"delegatedScopesList": [
{
"adminConsentDescription": "Allows the app to read delegated permission grants, on behalf of the signed in user.",
"adminConsentDisplayName": "Read delegated permission grants",
"id": "a197cdc4-a8e8-4d49-9d35-4ca7c83887b4",
"isEnabled": true,
"isAdmin": true,
"consentDescription": "Allows the app to read delegated permission grants, on your behalf.",
"consentDisplayName": "Read delegated permission grants",
"value": "DelegatedPermissionGrant.Read.All"
},
{
"adminConsentDescription": "Allows the app to read the resource specific permissions granted on a user account, on behalf of the signed-in user.",
"adminConsentDisplayName": "Read resource specific permissions granted on a user account",
Expand Down Expand Up @@ -4372,6 +4382,17 @@
}
],
"applicationScopesList": [
{
"allowedMemberTypes": [
"Application"
],
"consentDescription": "Allows the app to read all delegated permission grants, without a signed-in user.",
"consentDisplayName": "Read all delegated permission grants",
"id": "81b4724a-58aa-41c1-8a55-84ef97466587",
"isEnabled": true,
"isAdmin": false,
"value": "DelegatedPermissionGrant.Read.All"
},
{
"allowedMemberTypes": [
"Application"
Expand Down
8 changes: 4 additions & 4 deletions sample-queries/sample-queries.json
Original file line number Diff line number Diff line change
Expand Up @@ -1395,9 +1395,9 @@
"category": "Microsoft Teams",
"method": "GET",
"humanName": "members of a team",
"requestUrl": "/v1.0/groups/{group-id-for-teams}/members",
"docLink": "https://docs.microsoft.com/en-us/graph/api/group-list-memberof?view=graph-rest-1.0",
"tip": "This query requires a group id of the Team. To find the group id of teams you belong to, you can run: GET https://graph.microsoft.com/v1.0/me/joinedTeams",
"requestUrl": "/v1.0/teams/{team-id}/members",
"docLink": "https://learn.microsoft.com/en-us/graph/api/team-list-members?view=graph-rest-1.0",
"tip": "This query requires a team id. To find the team id of teams you belong to, you can run: GET https://graph.microsoft.com/v1.0/me/joinedTeams",
"skipTest": false
},
{
Expand All @@ -1407,7 +1407,7 @@
"humanName": "channels of a team which I am member of",
"requestUrl": "/v1.0/teams/{team-id}/channels",
"docLink": "https://docs.microsoft.com/en-us/graph/api/channel-list?view=graph-rest-1.0",
"tip": "This query requires a team id. To find the team id of teams you belong to, you can run: GET https://graph.microsoft.com/v1.0/me/joinedTeams",
"tip": "This query requires a team id. To find the team id of teams you belong to, you can run: GET https://graph.microsoft.com/v1.0/me/joinedTeams",
"skipTest": false
},
{
Expand Down

0 comments on commit 92c7ad3

Please sign in to comment.