Forum Discussion

Tobias Heck's avatar
Tobias Heck
Copper Contributor
Mar 18, 2019

Access on-premise Active Directory authenticated API from SPFx solution running in SharePoint 2019?

I know that we can call Azure AD secured APIs (e.g. Azure Functions, or API Apps running in an Azure App Service) from SPFx solutions running in SharePoint Online, as described in these scenarios:

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/connect-to-api-secured-with-aad

Is the same possible in a pure on-premise environment with an on-premise Active Directory, SharePoint 2019 and a SPFx solution running there? The API I would like to call from the SPFx solution might be a REST API developed with ASP.NET Core Web API running on a separate server and requires authentication, but it might also be any other corporate owned API or Web Service.

2 Replies

    • veena2020's avatar
      veena2020
      Copper Contributor

      Atul_Bachhav .No i didn't get answer of this question and  spfx running on SharePoint Online.

       

      If you can help it would we great.

      Thanks