Open
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
- Chrome 134.0.6998.89
- SPFx version: 1.20.0
- Node.js version: 18.20.7
Describe the bug / error
I've been getting this error:
{
"odata.error": {
"code": "-1, System.AggregateException",
"message": {
"lang": "en-US",
"value": "One or more errors occurred."
}
}
}
when trying to get token from spfx webpart to impersonate in an external application in azure.
I've already tries to delete the certificate and enter the API access, also i elminated SharePoint Online Client Extensibility Web Application Principal
and enter the API access to created again and is still failing.
Steps to reproduce
- Enter de page with the webpart
- The request error will appear
Expected behavior
It should give me a token not an error,