From d300dacd7f614d25fb0a94acac213b5c2e4a18d9 Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Wed, 26 May 2021 10:40:28 -0400 Subject: [PATCH] Update package-solution.json --- .../config/package-solution.json | 55 ++++++++++++------- 1 file changed, 34 insertions(+), 21 deletions(-) diff --git a/samples/react-groups-teams/config/package-solution.json b/samples/react-groups-teams/config/package-solution.json index ea6771771..083fca2f3 100644 --- a/samples/react-groups-teams/config/package-solution.json +++ b/samples/react-groups-teams/config/package-solution.json @@ -1,23 +1,36 @@ { - "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json", - "solution": { - "name": "react-groups-client-side-solution", - "id": "e562b13d-7e90-4a1e-810c-ccde0ff27866", - "version": "1.0.0.0", - "includeClientSideAssets": true, - "skipFeatureDeployment": true, - "isDomainIsolated": false, - "webApiPermissionRequests":[{ - "resource": "Microsoft Graph", - "scope": "Groups.Read.All" - }, { - "resource": "Team", - "scope": "Teams.ReadBasic.All" - }] - }, - - - "paths": { - "zippedPackage": "solution/react-groups.sppkg" - } + "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json", + "solution": { + "name": "react-groups-client-side-solution", + "id": "e562b13d-7e90-4a1e-810c-ccde0ff27866", + "version": "1.0.0.0", + "includeClientSideAssets": true, + "skipFeatureDeployment": true, + "isDomainIsolated": false, + "webApiPermissionRequests": [ + { + "resource": "Microsoft Graph", + "scope": "Groups.Read.All" + }, + { + "resource": "Microsoft Graph", + "scope": "Group.ReadWrite.All" + }, + { + "resource": "Microsoft Graph", + "scope": "Directory.Read.All" + }, + { + "resource": "Microsoft Graph", + "scope": "Directory.AccessAsUser.AllDirectory.AccessAsUser.All" + }, + { + "resource": "Microsoft Graph", + "scope": "Team.ReadBasic.All" + } + ] + }, + "paths": { + "zippedPackage": "solution/react-groups.sppkg" + } }