Unable to move from a Free to Standard plan unless using Github

Peter Graham 1 Reputation point
2021-06-10T18:54:28.093+00:00

I have created an Azure Static Web App using a free plan. The app is working fine, but I need custom authentication. The app is deployed from a repo hosted in Azure Devops.

When trying to change the hosting plan from Free to Standard using the Azure Portal, I get the following error message:

RepositoryURL is invalid. The repository url must be a github repository

I know that support for repos other than Github is a reasonably new feature, so is this an oversight? Or just not supported yet?

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
886 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,801 Reputation points
    2021-06-15T06:11:29.843+00:00

    Thanks for the feedback, @Peter Graham !

    We are still working on a fix but in the meantime please perform the following steps to change the hosting plan for an app that isn't linked to GitHub:
    • Disconnect the app from source control by running the following Azure CLI command:
    • az staticwebapp disconnect -n $APP_NAME -g $RESOURCE_GROUP_NAME
    • Use the portal to change the app's hosting plan.
    • The above steps resets the app's deployment token. Obtain the deployment token from the portal and update the Azure Pipelines variable with this value.

    Please let us know if you run into any other issues or errors.

    Thanks,
    Grace

    0 comments No comments

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.