Closed christeredvartsen closed 1 year ago
After some digging the issue occurs when the organization itself is not configured for Team IDP Sync. There does not seem to be any way to programatically detect this yet, so we will probably need to check the returned error to get around this.
An issue / feature request has been sent to GitHub regarding this.
If the GitHub reconciler creates a team, the team is considered a local team. The reconciler will then fail when it tries to remove the potential IDP connection. We will need to check if the team is remotely controlled before trying to remove the connection.