Sep 15 2021 02:22 AM
Hello. My application contains one office-js addin (typescript) project + one Webapi core (c#) project, both communicating through a fetch function when cors is enabled.It works together properly on my local computer.
I published :
- the webapi on azure api management (https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-rest-api). Test gaves a 200 OK.
- the Office addin on azure. It works properly (as long the fetch function is not involved).
However when used, fetch function raises errors (message = "failed to fetch").The issue may be about proper ssl certificates as described in : https://docs.microsoft.com/en-us/office/dev/add-ins/concepts/requirements-for-running-office-add-ins.
Is it a possible solution ?
I tried with self signed certificate with no success so far. Is there any tutorial explaining how to implement it ?
Any help would be appreciated