YannickRe / spfx-msgraph-peoplesearch

Show and search users from your organization with an SPFx web part, through Microsoft Graph.
40 stars 33 forks source link

spfx deployment #12

Closed hendra-haliman closed 3 years ago

hendra-haliman commented 3 years ago

Hi, When I deploy the app to app catalog, I did not see the permissions listed

image

And I also did not have pending approval request in the API management

Do you know what cause it?Thanks

YannickRe commented 3 years ago

That's because the needed permissions aren't included in the package-solution.json file. I decided on using PnP PowerShell/CLI for Microsoft 365 to add the permissions: https://github.com/YannickRe/spfx-msgraph-peoplesearch#minimal-path-to-awesome

hendra-haliman commented 3 years ago

ok, thanks