I was recently trying to change my branch name using az staticwebapp disconnect and az staticwebapp reconnect. On trying to reconnect, I kept getting the error 'Operation returned an invalid status 'Internal Server Error' after the authorization step. I figured out that this was because the branch I was attempting to link to required PRs to merge changes (no direct push). An error message indicating this, or at least a note in the docs, would have been helpful.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
I was recently trying to change my branch name using
az staticwebapp disconnectandaz staticwebapp reconnect. On trying to reconnect, I kept getting the error 'Operation returned an invalid status 'Internal Server Error' after the authorization step. I figured out that this was because the branch I was attempting to link to required PRs to merge changes (no direct push). An error message indicating this, or at least a note in the docs, would have been helpful.Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.