Skip to content

[BUG]: team-sync/group-mappings not working in EMU Data Residency Enterprise #508

Closed as not planned
@tvriesde

Description

@tvriesde

What happened?

Goal: Create team and connect to idp group for team sync.

The following code works correctly in a GitHub personal users Enterprise Organization.

Image

But fails when running in an GitHub Enterprise EMU, European Data Residency (ghe.com) environment.

Error given by the GH API:
This team is not externally managed. Learn more at https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github - https://docs.github.com/rest/teams/team-sync#create-or-update-idp-group-connections

Team sync has been enabled for both enterprises. And works when configuring manually using the GH web portal.

Versions

"@octokit/rest": "^21.1.1",

Relevant log output

This team is not externally managed. Learn more at https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github - https://docs.github.com/rest/teams/team-sync#create-or-update-idp-group-connections

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: SupportAny questions, information, or general needs around the SDK or GitHub APIs

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions