Azure / Azure/static-web-apps

Consume APIM using internal network - from SWA

Open
#957 2 comments 0 reactions 1 assignee Claimed by @thomasgauvin View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Problem:**

We wish to consume an existing APIM instance that uses "internal network" - i.e runs on a VNet - from our SWA

Hence we navigated to our SWA in portal and under Settings / API we have added a **link** to our APIM instance.

Currently - when requests of type _https://{swa_custom_domain_name}/api/*_ are routed to APIM instance as _https://{APIM}/api/*_ - these calls fail and SWA displays "Backend call failure".

I am guessing this is due to the fact our APIM instance runs on a separate VNet?

We have also tried "Private Endpoint" - specifying same VNet as APIM runs on. But this option only seems to be to limit the access to SWA from internet - and it does not seem to enable traffic between SWA and APIM.

Application Insights is only supported when using Azure Functions - hence not an option here.

When using an APIM instance which does **not** use a VNet - everything works.

Is there any way you could solve this ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.