How to create a static web app in westus3 region?

Owen Lopez (BTHS Student) 0 Reputation points
2025-05-15T03:25:38.09+00:00

My Goal

I am trying to create a Static Web App resource but during the process of setting up the app I experience a policy error cannot complete it. Essentially I need to build this resource in a specific set of regions. These regions are not in the options of regions presented to me when I am setting up the app, even though my plan allows them and I should be fully able to create the app in one. I am also not able to create any other Azure resources in general.

Error Message:

Resource •staticApp• was disallowed by policy. (Code:
RequestDisa110wedByP01icy)
Poligr. Policy Assignment
Reason: You can create resources in the following regions westus3, eastusr
northcentralus, canadacentral, mexicocentral only. For business reasons if you
need access to any other regions, please visit aka.ms/regionoptimization for
help.

Context Screenshot

Screenshot 2025-05-14 232451

My Subscription

Azure for Students Starter

ID: 6f47a7d0-2df7-43b1-b639-45a3de6a8bb5

Parent Management Group: b3b3d057-fc12-4f3f-92f4-72be6e844351

Help

Is there a common set of issues that are denying me the ability to create a resource here? Are there any techniques to troubleshoot my subscription? Where can I find help resources to assist in solving my issue?

Azure Static Web Apps
Azure Static Web Apps

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

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2025-05-15T05:34:07.41+00:00

    Hi Owen Lopez (BTHS Student),

    In addition to Deepanshukatara-6769, to help you better, please check these below points:

    The error RequestDisallowedByPolicy means your Azure subscription only allows creating resources in certain regions. You're allowed to use regions like westus3, eastus, northcentralus, canadacentral, mexicocentral

    This happens because your organization only allows certain regions, but Static Web Apps may not support those regions—like westus3—for parts like the Functions API.

    Since the portal doesn’t show unsupported regions, you can’t select them, and Azure blocks the request. If you can’t create other resources either, it means this region restriction applies to your whole subscription.

    Is there a common set of issues that are denying me the ability to create a resource here?

    Yes. The error RequestDisallowedByPolicy means your subscription only allows creating resources in certain regions like westus3, eastus, northcentralus, canadacentral, and mexicocentral. But Static Web Apps don’t support westus3 yet, so it doesn’t appear in the region list, and the creation fails.

    Are there any techniques to troubleshoot my subscription?

    Yes, here are a few steps you can try:

    • To check the applied policy and view region restrictions, go to Azure Portal > Subscriptions > [Your Subscription] > Policies.
    • Confirm your permissions by checking that your user has sufficient privileges under Access Control (IAM).
    • Use Azure CLI to deploy directly by specifying an allowed region (like westus3), but only if the service supports that region.
    az staticwebapp create \
      --name my-static-app \
      --resource-group my-rg \
      --location westus3 \
      --source https://github.com/user/repo \
      --branch main \
      --login-with-github
    
    • Check if the service is available in westus3 using this below link

    https://azure.microsoft.com/en-us/explore/global-infrastructure/products-by-region

    Please accept as "Yes" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Deepanshu katara 18,230 Reputation points MVP Volunteer Moderator
    2025-05-15T04:53:58.9033333+00:00

    Hello , Welcome to MS Q&A

    Thank you for clarifying that you’re using an Azure for Students subscription. These subscriptions have certain limitations and restrictions compared to regular Azure subscriptions

    As suggested by the error message, try selecting a different region for your deployment. Some regions may have restrictions due to capacity or other factors.

    see also, Azure Program regions

    Azure Program offerings (Azure Pass, Imagine, Azure for Students, MPN, BizSpark, BizSpark Plus, Microsoft for Startups / Sponsorship Offers, Microsoft Developer Network(MSDN) / Visual Studio Subscriptions) have access to a limited set of regions.

    If your subscription is part of above offerings and you require access to any of the listed regions, submit an access request.

    Your subscription might not have access to create a server in the selected region. To resolve this issue, file a support request to access a region.

    If you see the following errors, file a support ticket to enable the specific region:

    • Subscription 'Subscription name' is not allowed to provision in 'region name
    • Subscriptions are restricted from provisioning in this region. Please choose a different region. For exceptions to this rule please open a support request with the Issue type of 'Service and subscription limits.

    Please do let us know if that helps.

    Thanks

    Deepanshu

    Was this answer helpful?


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.