Skip to content

Reconnect fails if branch policy does not allow push #20492

@benCoomes

Description

@benCoomes

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.

Metadata

Metadata

Assignees

Labels

Service AttentionThis issue is responsible by Azure service team.act-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.staticwebappaz staticwebapp

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions