Office-js addin with webapi in Api management. Failed to fetch

New Contributor

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 ( 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 :

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

0 Replies