Azure Function setup as proxy makes the Application Insights settings unavailable
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When an azure static webapp uses a managed Azure Function that only has a proxies.json file (no function folder), the Application Insights settings reports: "App Insights is only applicable to Static Web Apps with at least one function. Add a function to your app to enable App Insights."
**Expected behavior**
The proxies are recongized as functions so it can be linked to an App Insights
**Additional context**
Our proxies.json folder handles all static webapp requests by redirecting to a backend API gateway, so we do not need to create custom function code. During a support call with Microsoft, support suggested that we removed our function folder because it was creating duplicate calls in the app insight logs, even though it was not doing anything since proxies took over request/response handling. When this folder was removed, we could no longer access App Insights from the azure static webapp settings
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.