az staticwebapp update Operation returned an invalid status 'Bad Request'
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az staticwebapp update
Errors:
Operation returned an invalid status 'Bad Request'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az staticwebapp update -n {} -b {} -s {} -t {}
Expected Behavior
Environment Summary
Linux-5.4.0-1094-azure-x86_64-with-glibc2.35 (Cloud Shell), CBL-Mariner/Linux
Python 3.9.13
Installer: RPM
azure-cli 2.41.0
Extensions:
ai-examples 0.2.5
ml 2.10.0
ssh 1.1.2
Dependencies:
msal 1.20.0b1
azure-mgmt-resource 21.1.0b1
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Operation returned an invalid status 'Bad Request' when trying ...
Run az staticwebapp hostname set -n jamcloud --hostname blog.domain.com returns Operation returned an invalid status 'Bad Request'.
Read more >Operation returned an invalid status 'Bad Request' during ...
Objective: Checking whether a resource group exist in given subscription on Azure with shell script (azure cli command) (runs as part of ...
Read more >Azure – Operation returned an invalid status code 'BadRequest'
The command try to create the automation account in “France South” location in the “RG_INFRA” resource group. The error message was not explicit...
Read more >Release notes & updates – Azure CLI - Microsoft Learn
Learn about the latest Azure Command-Line Interface (CLI) release notes and updates for both the current and beta versions of the CLI.
Read more >az webapp auth update: Operation returned an invalid status ...
az webapp auth update: Operation returned an invalid status 'Bad Request' ... Write-Output "Authenticating with Azure AD to access the API.".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@PramodValavala-MSFT I was able to do what I wanted to do: after running the Update command, I configured the “Deploy web app to Azure Static Web Apps” workflow from the Github repository. Deploy web app to Azure Static Web Apps" from the Github repository workflow, and the repository switch was successful. (I had to add a StaticWebapps deployment token to the repository secret to configure the workflow).
Thank you very much for your support!
@cocoojbs Could you share the full command (removing any personal information) and also the complete output when run using the
--debug
flag to provide more details here?