EnterpriseGradeCdnStatus is invalid, Cannot change hosting plan

Ziggy Zulueta 495 Reputation points MVP
2024-03-15T09:05:52.4833333+00:00

I wanted to downgrade my hosting plan from Standard to Free but I get this error message:

"The hosting plan failed to update. EnterpriseGradeCdnStatus is invalid. Plelase ensure the 'enterpriseGradeCdnStatus' is set to 'Enabled', 'Disabled', or null.

1

I used to have Enable enterprise-grade edge set to On to test it but I switched it off already more than 6 hours ago. I could not change the hosting plan because of this.2

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

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2024-03-15T09:43:22.25+00:00

    @Ziggy Zulueta Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    Based on the shared information, I understand that you want to downgrade the static webapp tier from standard to Free. As you have enabled Enterprise-grade edge it is failing with above error.

    Could you please disable the enterprise-grade edge using the below cmdlet and retry scaling down to Free tier.

    az staticwebapp enterprise-edge disable --name --resource-group

    Hope this helps, let me know if you have any further questions on this.

    1 person 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.