Deploy ASWA break due to bad azure portal configuration generation
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Deployment from azure pipeline with `AzureStaticWebApp@0` task fail with the following error :
```
##[section]Finished Upload. Polling on deployment.
Status: InProgress. Time: 0.0495207(s)
Status: InProgress. Time: 16.6880789(s)
Status: InProgress. Time: 31.7270659(s)
Status: InProgress. Time: 47.7008937(s)
Status: InProgress. Time: 62.7386921(s)
Status: InProgress. Time: 77.7797507(s)
Status: InProgress. Time: 92.8222542(s)
Status: InProgress. Time: 107.881036(s)
Status: InProgress. Time: 123.4676986(s)
Status: InProgress. Time: 138.5185741(s)
Status: InProgress. Time: 153.6075385(s)
Status: InProgress. Time: 168.6491333(s)
Status: InProgress. Time: 183.6928713(s)
Status: InProgress. Time: 198.7322201(s)
Status: InProgress. Time: 216.4284951(s)
Status: InProgress. Time: 232.6024242(s)
##[warning]Upload Timed Out. Unsure if deployment was successful or not.
##[warning]For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
##[warning]If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
##[warning]Exiting
##[error]Error: The process '/usr/bin/bash' failed with exit code 1
```
Turns out it is probably an azure portal SWA configuration error. Here is the screenshot of my SWA configuration found on azure portal:

Under API tab, i may have clicked twice in a row the button "Link new Backend". And then the link created twice.
I also couldn't unlink the Function App once it was linked.
After deleting/recreating both the SWA and the Function App, i was able to deploy correctly.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.