Connect to on-premise API secured with Azure Active Directory

Copper Contributor

Hi,

I am following this post https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/connect-to-api-secured-with-...

 

I have approved API from SharePoint admin center even though while debugging getting below mentioned error :

sp-webpart-workbench-assembly_default.js:39921 Uncaught (in promise) Error: To view the information on this page, ask a global or SharePoint admin in your organization to go to the API management page in the new SharePoint admin center.
at MockAadTokenProvider../sp-http.js.__WEBPACK_AMD_DEFINE_RESULT__.mXNH.MockAadTokenProvider.getToken (sp-webpart-workbench-assembly_default.js:39921)
at HelloWorldWebPart.ts:44

 

Has anyone done this, or know of a good article on how to do it?

 

 

0 Replies