Azure static web app failed to retrieve secrets from Key vault

Premadhasan Rajendran (PRH) 5 Reputation points
2024-11-25T06:44:39.9566667+00:00

Hi,

My azure static web app has been failing to retrieve secrets from azure key vault since 22nd Nov,2024, 10.00AM UTC. Both static web app and key vault are hosted on West Europe region under same tenant (with in the same RG).

This failure occurs only when users access the site from West Europe region, while users accessing it from Canada & India can use the site without any issues.

Static app is running on Standard tier and the managed identity of the app has been added to the KV access policy as per the documentation to enable custom authentication using Entra app. https://learn.microsoft.com/en-us/azure/static-web-apps/key-vault-secrets

Error snap:
https://white-cliff-00d828403.5.azurestaticapps.netUser's image

Configurations:
User's image

User's image

Thanks in advance.

Regards,

Premadhasan

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,328 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
993 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Carolina Vega Sanchez 6 Reputation points
    2024-11-25T16:45:22.75+00:00

    We have experienced this problem as well in 3 Static Web Applications in our side.

    We created a support ticket and Microsoft was not able to find a solution until we saw this post.

    Setting the secret manually in the environment variables work, but this issue should be fixed.

    You found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.