Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
Hi,
When I try to deploy a static web app content with the cli, I have an error during the deployment with this error message :
ℹ Try to validate location at: 'C:\xxx\wwwroot\staticwebapp.config.json'.
ℹ config_file_location: config file 'C:\xxx\wwwroot\staticwebapp.config.json' was found.
ℹ Looking for event info
ℹ Could not get event info. Proceeding
ℹ The content server has unexpectedly rejected the request with: Forbidden
ℹ Failed to record upload telemtry.
ℹ For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
ℹ If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
SUCCESS: There are no changes to provision for your application.
WARNING: your version of azd is out of date, you have 1.9.2 and the latest version is 1.9.3
I don't know what is the issue and what is forbidden as deployment of the Azure Static WebApp service is done by IAC (bicep file), and for other environments everything works.
Device info (if applicable):
OS: Windows 11
Browser Edge
Version 125.0.2535.67
I use the azd cli to provision azure services, and have different environments in many tenants, and on all other environments everything works.
I don't think that it's an RBAC issue on Azure as on all tenants I have the same rights (Contributor + Role base access administrator).
Describe the bug
Hi, When I try to deploy a static web app content with the cli, I have an error during the deployment with this error message :
Launched command :
swa deploy ./output/wwwroot -T $Env:AZURE_TENANT_ID -S $Env:AZURE_SUBSCRIPTION_ID -R $Env:AZURE_RESOURCE_GROUP -n $Env:AZURE_STATIC_APP --env Production --verbose silly
I don't know what is the issue and what is forbidden as deployment of the Azure Static WebApp service is done by IAC (bicep file), and for other environments everything works.
Device info (if applicable):
I use the azd cli to provision azure services, and have different environments in many tenants, and on all other environments everything works.
I don't think that it's an RBAC issue on Azure as on all tenants I have the same rights (Contributor + Role base access administrator).
Additional datas
Here is the logs before deployment :