An Azure service that provides streamlined full-stack web app development.
Thank you for reaching us regarding the issue.
The error "An unknown exception has occurred" during Azure Static Web Apps deployment is documented as a known issue in the context of deployments.
Recommended Troubleshooting Steps:
- Retrieve deployment error messages: Review detailed logs in GitHub Actions (if using workflows) or run deployments with maximum verbosity/debug flags.
- Confirm folder configuration: Ensure app_location, output_location, and api_location (if applicable) in your workflow or deployment settings match your project structure.
- Check deployment status: Environments stuck in WaitingForDeployment indicate the process has not progressed past the initial upload phase.
- Use the Diagnose and solve feature in the Azure portal for guided troubleshooting.
For CLI-based deployments, enable debug logging and verify authentication, build outputs, and required configuration files (e.g., staticwebapp.config.json).
Reference:
https://learn.microsoft.com/en-us/azure/static-web-apps/troubleshooting
https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/troubleshoot?tabs=Browser
Kindly let us know if the above helps or you need further assistance on this issue.
Please "accept" if the information helped you. This will help us and others in the community as well.