Resolve SPFx Web Part Dataverse API AADSTS65001 Consent Error
Question details
The user needs to fix an AADSTS65001 consent error encountered when attempting to call the Dataverse Web API from a SharePoint Framework (SPFx) Web Part.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Developing a SharePoint Framework (SPFx) Web Part that integrates with and makes calls to Dataverse.
- Observed behavior
- The API call fails and returns an AADSTS65001 consent error involving the SharePoint Online Client Extensibility Web Application Principal.
Gather your authentication flow documentation, Azure AD app registration details, API permissions list, and current consent configurations before seeking technical support.
Seek Assistance in the Microsoft Q&A SharePoint Development Community
Because this issue requires specific SharePoint Framework and Dataverse programming expertise, routing your query to the specialized Microsoft Q&A development forum is the most effective way to get it resolved.
Open your web browser and go to the official Microsoft Q&A platform to access the SharePoint developer community.
Clearly outline your SPFx Web Part setup and specifically mention the AADSTS65001 consent error relating to the SharePoint Online Client Extensibility Web Application Principal.
Add vital troubleshooting information to your post, including your authentication flow, app registration specifics, configured API permissions, and tenant consent status.
Tag your forum post with 'sharepoint-dev' and 'office-sharepoint-online' to ensure your question is routed to specialized developers rather than general SharePoint support.

Need a Free and Lightweight Alternative for Your Daily Office Tasks?
While resolving complex SharePoint Framework and Dataverse API integrations requires specialized Microsoft developer tools, your daily document creation doesn't have to be complicated. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office for your standard Word, Excel, and PowerPoint files.
- 1. Download WPS Office: Visit the official WPS Office website and download the free software for your specific operating system.
- 2. Install the application: Run the installer file to quickly set up the all-in-one office suite on your computer without heavy system requirements.
- 3. Open existing documents: Double-click your existing Microsoft Word, Excel, or PowerPoint files to open and edit them directly in WPS Office with high format retention.

Frequently Asked Questions
What causes the AADSTS65001 consent error in SPFx Web Parts?
This error typically occurs when the SharePoint Online Client Extensibility Web Application Principal lacks the necessary admin consent or required API permissions within Microsoft Entra ID (Azure AD) to access the requested Dataverse Web API endpoints.
Can I fix the AADSTS65001 error without tenant administrator privileges?
Generally, no. Resolving Azure AD consent errors like AADSTS65001 usually requires a global administrator or application administrator to grant tenant-wide admin consent for the requested API permissions on behalf of the organization.
Where do I manage API permissions for my SPFx web part integration?
API permissions are managed within the Microsoft Entra admin center (formerly Azure Active Directory) under 'App Registrations'. You must locate the 'SharePoint Online Client Extensibility Web Application Principal' and modify settings in its API Permissions blade.




