An Azure service that provides streamlined full-stack web app development.
Hello Andy Levy
Don't delete the GitHub deployment secret or recreate the site yet. You currently have a working deployment path, and recreating the resource may not preserve its hostname or configuration..
Since your website is live and GitHub Actions deployments continue succeeding, the deployment token is still being accepted by Azure Static Web Apps. Deployment-token authentication is separate from Azure Resource Manager access. Successful deployments do not prove that your current Azure account has access to the subscription owning the resource.
1.Trace the original GitHub deployment
Check your repository's .github/workflows/azure-static-web-apps-*.yml file.
Look for:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_... }}
Then check:
- GitHub → Settings → Secrets and variables → Actions: The secret name may provide clues about the original Static Web App.
- GitHub Actions → Latest successful deployment: Check the deployment logs for the Azure Static Web Apps hostname.
- Git history around October 31, 2021: Look for the original workflow creation and any Azure resource details recorded at that time.
Do not expose the deployment token itself.
- Check Azure subscription access
Check Azure Portal → Settings → Directories + subscriptions for any additional directories or subscriptions. If you're a Microsoft Entra Global Administrator for the original tenant, follow Microsoft's Elevate access documentation to temporarily inspect subscriptions in that tenant. Remove the elevated access afterward.
Also Being Owner of your current subscription does not grant visibility into other subscriptions.
There is a similar Microsoft Q&A case where the customer recovered access after elevating Azure resource permissions.