An Azure service that provides streamlined full-stack web app development.
Hello @Erik B
Based on your description, this appears to be occurring before the request reaches your application, which would explain why Application Insights shows no requests or exceptions. The "Backend call failure" response is typically generated by the platform when the managed backend cannot successfully invoke the SSR application.
Since you've already ruled out code changes, DNS, and third-party dependencies, and a redeploy consistently restores service, it points more toward a platform-managed backend issue than an application defect.
A few suggestions:
- Review Diagnose and Solve Problems for your Static Web App and check Activity Log around the failure window to see if there were any platform events (restarts, configuration updates, or infrastructure actions).
- Verify whether the issue coincides with any deployment infrastructure events, even if your application wasn't redeployed.
- If possible, enable additional server-side logging (for example, via your Next.js application) to confirm whether requests ever reach the SSR runtime.
- If the issue is reproducible, capture the x-ms-request-id, x-azure-ref, and timestamp from the failing responses. These identifiers are invaluable for Microsoft Support to trace requests through the platform.
Regarding your questions:
- Yes, it's possible for failures in the platform-managed SSR infrastructure to occur before your application starts, meaning Application Insights won't capture them.
- Microsoft doesn't expose detailed telemetry for the managed backend layer, so customer visibility into that infrastructure is limited.
- A linked (self-managed) backend can provide significantly better observability and operational control because you own the hosting environment, logging, scaling behavior, and diagnostics. While it doesn't necessarily eliminate platform issues entirely, it does reduce the number of opaque components in the request path.
Given that this has occurred multiple times and is only resolved by redeploying, I'd recommend opening a Microsoft Support case and providing:
- Exact UTC timestamps of each occurrence
- Static Web App name and region
- Correlation/request IDs from the failed responses
- Confirmation that no Application Insights telemetry was generated during the failures
- The observation that a redeploy with no code changes immediately restores service
Those details should help the engineering team determine whether the managed SSR backend is encountering an infrastructure issue that isn't visible at the application layer.
Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.