Connect to API secured with Azure Active Directory from a low-trust Provider Hosted SharePoint Add-in

Maz 1 Reputation point
2020-06-23T09:41:55.377+00:00
**Scenario**
    
  1. React Native was used to create a mobile i.e. smartphone app.
  2. That mobile app successfully access a web api registered in the application registration portal in Azure Ad; no problem.
  3. But we had a requirement to have a web site too and this was fulfilled by converting the React Native code to a website.
  4. We then created a low trust on-prem provider hosted SP add-in and the remote web is that created from the React Native code and so is composed purely of HTML, CSS and JavaScript.
  5. We are not using Office 365 or SharePoint Online please note. We are on-prem..
  6. The website now needs to access the API outlined above. A SharePoint Provider Hosted low-trust addin uses use Azure ACS as token issuer.
  7. What steps do we need to go through to allow the website to similarly access the API please. Please outline in detail. We would prefer not to use the SharePoint framework or Graph if possible. We just want to get the web site able to communicate with the web api. Thanks very much. Maz
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,497 questions
{count} votes