Get an error message saying: To view the information on this page, ask a Global or SharePoint Administrator in your organization to go to the API management page in the new SharePoint admin center.
Go to the API management page and get the error saying: Error ensuring domain-wide principals
I am also missing the SharePoint Online Client Extensibility Web Application Principal Helper in my Entra Id App registration, but I do have the SharePoint Online Client Extensibility Web Application Principal App registration.
Expected behavior
Able to manage access to Azure AD-secured APIs from SharePoint Framework components
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
π₯ SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
Steps to reproduce
Create a Developer tenant in Sharepoint 365
Clone repository from https://github.com/pnp/addin-transformation-guidance/tree/main/samples/Understanding-AAD-OAuth-for-SPFx/Consuming-MSGraph-from-SPFx
Start Consuming-MSGraph-from-SPFx in https://{your_tenant}.sharepoint.com/_layouts/15/workbench.aspx
Get an error message saying: To view the information on this page, ask a Global or SharePoint Administrator in your organization to go to the API management page in the new SharePoint admin center.
Go to the API management page and get the error saying: Error ensuring domain-wide principals
I am also missing the SharePoint Online Client Extensibility Web Application Principal Helper in my Entra Id App registration, but I do have the SharePoint Online Client Extensibility Web Application Principal App registration.
Expected behavior
Able to manage access to Azure AD-secured APIs from SharePoint Framework components