Share via

In Static Web App Configuration tab Apply button stays disabled

Pavlin Penev 40 Reputation points
2026-03-26T12:13:36.27+00:00

Hello,

A while ago we've put a password protection to a Static Web App through the Configuration tab. Since we came up to a moment we don't need it anymore we want to remove it. For us to do this we went to the corresponding app's Configuration tab and clicked the Disabled radio button on the password protection section. The Discard button turned out enabled but the Apply one stayed grayed out not letting us save the changes made. First we checked the IAM role assignments - no changes have been made there so we shouldn't experience issues on that account. After that we checked other Static Web Apps we have deployed - the issue persists throughout all of them. No Apply button available. Tried other configurations and they are working. This occurs only at the Configuration tab. We tried different browsers, tried with the other settings in the tab, tried clearing the cache and no solution found yet.

Does someone have any idea what the issue is?

Thank you

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.


Answer accepted by question author
  1. Golla Venkata Pavani 3,415 Reputation points Microsoft External Staff Moderator
    2026-03-26T13:04:46.3966667+00:00

    Hi @Pavlin Penev ,

    Thank you for reaching us regarding the issue that what you’re seeing is a known Azure portal behavior related to how Static Web Apps detect configuration changes, specifically for password protection.

    This is a known issue. A fix has been identified, and a repair item has been raised. The internal team is currently working on it. In the meantime, using Azure CLI can help mitigate the issue.

    If the answer is helpful,  Please do click "Accept the answer” and Yes, this can be beneficial to other community members.

    If you have any other questions, let me know in the "comments" and I would be happy to help you.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-26T12:13:50.9866667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The Apply button in the Static Web Apps Configuration blade only becomes enabled when the portal detects a pending configuration change that it can submit. For password protection, the change must meet the feature’s validation rules before Apply is enabled.

    For password protection specifically:

    1. Password protection is only available for Static Web Apps on the Standard plan.
    2. When enabling or changing password protection, the Visitor password must:
      • Be at least eight characters long
      • Contain a capital letter
      • Contain a lowercase letter
      • Contain a number
      • Contain a symbol
    3. When disabling password protection (selecting Disabled), the portal must still recognize that the configuration state has changed from a previously saved value. If the current effective configuration is already “Disabled” (for example, due to a prior change or a delayed portal refresh), toggling the radio button may not register as a change and the Apply button remains disabled.

    Given that other configuration changes in the same blade do enable Apply, and the issue appears only for password protection across multiple apps, the behavior is most likely due to:

    • The portal not detecting a net change in the password protection setting (already effectively disabled), or
    • A transient portal-side issue or caching delay where the UI does not refresh the current state correctly.

    Workarounds and checks:

    1. Confirm plan and feature state
      • Verify that each Static Web App is on the Standard plan, as password protection is a Standard-plan feature.
    2. Force a detectable change
      • Temporarily switch password protection to Protect both production and staging environments, enter a valid password that meets the complexity requirements, and check whether Apply becomes enabled.
      • If Apply enables, save, then switch back to Disabled and save again.
    3. Use an alternate browser/session
      • Open the Azure portal in a different browser or a private/incognito window to avoid stale cached UI state and try the same steps.

    If the portal still never enables Apply for any change to password protection across multiple Static Web Apps, this indicates a portal-side issue rather than a configuration or RBAC problem. In that case, capture the portal notification details (if any error appears) and open a support request so the issue can be investigated on the service side.


    References:

    0 comments No comments

Your answer

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