Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 of 9 tasks
BenjaminGournay83 opened this issue Oct 4, 2023 · 4 comments
Closed
2 of 9 tasks
Labels
sample: react-my-approvals status:no-recent-activity type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@BenjaminGournay83
Copy link

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

  • Internet Explorer
  • Microsoft Edge
  • Google Chrome
  • FireFox
  • Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

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

@BenjaminGournay83 BenjaminGournay83 added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label Oct 4, 2023
@ghost
Copy link

ghost commented Oct 4, 2023

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

@ghost ghost added the Needs: Triage 🔍 label Oct 4, 2023
@a1mery
Copy link
Contributor

a1mery commented Oct 5, 2023

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

Copy link

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.

Copy link

github-actions bot commented Feb 1, 2024

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.

@github-actions github-actions bot closed this as completed Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sample: react-my-approvals status:no-recent-activity type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

3 participants