Access to XMLHttpRequest at from origin ‘https://.sharepoint.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Issue: So i was working on trying to make a post request, which was hosted on Azure Funciton Apps, from from Microsof Teams. So i came across with following error Access to XMLHttpRequest at <URL> from origin ‘https://<tenant&gt;.sharepoint.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. My solution comprises of following bits Azure Funciton Apps Teams One point … Continue reading Access to XMLHttpRequest at from origin ‘https://.sharepoint.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.