pnp / sp-dev-fx-webparts

SharePoint Framework web part, Teams tab, personal app, app page samples
http://aka.ms/spfx-webparts
MIT License
2.05k stars 3.86k forks source link

react-my-approvals - Error when adding the webpart to the sharepoint page #4091

Closed BenjaminGournay83 closed 9 months ago

BenjaminGournay83 commented 1 year ago

Disclaimer

Yes

Sample

react-my-approvals

Contributor(s)

@karamem0

What happened?

When i add the webpart to the page, I get that error message:

AADSTS65001: The user or administrator has not consented to use the application with ID '155f63d3-805a-4b87-9deb-c8ade6918ed3' named 'SharePoint Online Client Extensibility Web Application Principal'. Send an interactive authorization request for this user and resource.

Steps to reproduce

  1. I deployed the webpart
  2. I add the webpart to a page
  3. I get the error message

Expected behavior

I am supposed to see my approvals from powerautomate

Target SharePoint environment

SharePoint Online

Developer environment

None

Browsers

What version of Node.js is currently installed on your workstation?

v16.15.0

What version of Node.js is required by the sample?

Node.js s v16 | v14 | v12

Paste the results of SPFx doctor

Verifying configuration of your system for working with the SharePoint Framework

√ SharePoint Framework v1.15.2 √ Node v16.15.0 √ yo v4.3.0 √ gulp-cli v2.3.0 √ bundled typescript used

Additional environment details

No response

ghost commented 1 year ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

a1mery commented 1 year ago

Did you approve the API requests after deploying the web part (Approvals.Read.All and Flows.Read.All)? You can go there to do it: https://_yourtenant_-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx#/webApiPermissionManagement

github-actions[bot] commented 10 months ago

This issue has been marked as stale due to no progress in over 90 days. If you are still experiencing this issue, please provide additional information so we can help you resolve it.

github-actions[bot] commented 9 months ago

Closing this issue due to lack of activity. If you are still encountering this issue, please do not hesitate to open a new issue. Make sure to follow the guidance on how to create good issues to increase your chances of getting the help you deserve.