Add missing Graph API permission

This commit is contained in:
Ari Gunawan 2021-03-28 17:54:43 +07:00
parent be1b788c4b
commit 8621a2f30e
2 changed files with 8 additions and 2 deletions

View File

@ -41,6 +41,7 @@ This web part shows the current user's colleagues, and allows the user to search
Solution|Author(s)
--------|---------
react-staffdirectory|Ari Gunawan ([@arigunawan3023](https://twitter.com/arigunawan3023))
react-staffdirectory|João Mendes ([joaojmendes](https://github.com/joaojmendes))
@ -49,6 +50,7 @@ react-staffdirectory|João Mendes ([joaojmendes](https://github.com/joaojmendes)
Version|Date|Comments
-------|----|--------
1.0.0|February 16, 2021|Initial release
1.0.1|March 28, 2021|Added missing Graph API Permission (User.Read.All) for getting users information
## Disclaimer
@ -67,7 +69,7 @@ Please follow all the steps:
- `gulp bundle --ship`
- `gulp package-solution --ship`
- Add and deploy package to your tenant's App Catalog
- Go to **API Access** - from **SharePoint Admin Center** new experience, and **Approve** the permission to use Microsoft Graph scope **Presence.Read.All**
- Go to **API Access** - from **SharePoint Admin Center** new experience, and **Approve** the permission to use Microsoft Graph scopes **Presence.Read.All** and **User.Read.All**
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/staffdirectory" />

View File

@ -3,7 +3,7 @@
"solution": {
"name": "staff-directory-client-side-solution",
"id": "89d7389c-be48-41e9-9f72-5eb9a1099c1f",
"version": "1.0.0.0",
"version": "1.0.1.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"isDomainIsolated": false,
@ -11,6 +11,10 @@
{
"resource": "Microsoft Graph",
"scope": "Presence.Read.All"
},
{
"resource": "Microsoft Graph",
"scope": "User.Read.All"
}
],
"developer": {