Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,302 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a SharePoint Online page with some custom JavaScript that calls an Azure function protected by Microsoft App Authentication. The JavaScript runs fetch('someGetRequestFromAzureFunction') and the get request gets redirected to login.microsoft.com and fails. I resorted to using the MSAL browser library with some silent sso, but its very complex. I am also forced to use the SPA oauth flow, instead of the back-end oauth flow, which is less than ideal. Can someone look over my shoulder and verify these steps are correct?