Share via

Can't select allowed region for static web app launch

KarlisV 0 Reputation points
2026-02-21T16:03:03.1566667+00:00

Hello, I'm trying to launch a static web app. And I get this error: Resource was disallowed by Azure: This policy maintains a set of best available regions where your subscription can deploy resources. The objective of this policy is to ensure that your subscription has full access to Azure services with optimal performance. Should you need additional or different regions, contact support.

I am allowed in Sweden Central where I would love to put my webpage but I cannot select it anywhere. I tried also through the Azure webpage but there too I can only select these 5 servers which are not supported.Screenshot 2026-02-21 at 17.42.44

Azure Static Web Apps
Azure Static Web Apps

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

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. TP 152.5K Reputation points Volunteer Moderator
    2026-02-21T17:55:18.52+00:00

    Hi,

    Unfortunately Static Web Apps only allow you to select from five different regions, and if none of those five are in the list of allowed regions for your Azure for Students subscription, you can't deploy.

    What you can consider is deploying to Azure App Services instead. You will need to deploy to one of your five allowed regions.

    To find your list of allowed regions, please navigate to Azure Policy -- Authoring -- Assignments using link below:

    https://portal.azure.com/#view/Microsoft_Azure_Policy/PolicyMenuBlade/~/Assignments

    Click on assignment named Allowed resource deployment regions

    User's image

    Examine Allowed locations Parameter value for list of regions, similar to below (regions in screenshot are different than yours):

    User's image

    The regions shown in your Parameter value are the ones you are allowed to deploy resources to. Please try to create resources in one of these regions and let me know the results. An alternative to the above would be to upgrade your subscription to Pay-as-you-Go.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.
    0 comments No comments

  2. Praneeth Maddali 5,730 Reputation points Microsoft External Staff Moderator
    2026-02-23T01:43:37.2766667+00:00

    HI @KarlisV

    Thanks @TP for checking in! Yes — TP’s answer correctly explains the region restriction and gives the right next steps. If you follow those steps (checking allowed regions in Azure Policy or choosing App Service/Pay‑As‑You‑Go), it should address the issue.

    If you need any more help, feel free to reply in the comments — we’re here to support you. And thanks again to TP for the helpful guidance!  Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community member

    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.