docs/content/organizations/managing-saml-single-sign-o.../managing-team-synchronizati...

6.5 KiB

title intro redirect_from permissions versions topics shortTitle
Managing team synchronization for your organization You can enable and disable team synchronization between your identity provider (IdP) and your organization on {% data variables.product.product_name %}.
/articles/synchronizing-teams-between-your-identity-provider-and-github
/github/setting-up-and-managing-organizations-and-teams/synchronizing-teams-between-your-identity-provider-and-github
/github/articles/synchronizing-teams-between-okta-and-github
/github/setting-up-and-managing-organizations-and-teams/managing-team-synchronization-for-your-organization
Organization owners can manage team synchronization for an organization.
ghec
*
Organizations
Teams
Manage team synchronization

{% data reusables.enterprise-accounts.emu-scim-note %}

About team synchronization

You can enable team synchronization between your IdP and {% data variables.product.product_name %} to allow organization owners and team maintainers to connect teams in your organization with IdP groups.

{% data reusables.identity-and-permissions.about-team-sync %}

{% data reusables.identity-and-permissions.team-and-idp-group %}

{% data reusables.saml.ghec-only %}

{% data reusables.identity-and-permissions.supported-idps-team-sync %}

{% ifversion team-sync-manage-org-invites %} {% data reusables.identity-and-permissions.team-sync-org-invites %} {% endif %}

{% data reusables.identity-and-permissions.sync-team-with-idp-group %}

You can also enable team synchronization for all organizations owned by an enterprise account. If SAML is configured at the enterprise level, you cannot enable team synchronization on an individual organization. Instead, you must configure team synchronization for the entire enterprise. For more information, see "AUTOTITLE."

{% data reusables.enterprise-accounts.team-sync-override %}

{% data reusables.identity-and-permissions.team-sync-usage-limits %}

Enabling team synchronization

The steps to enable team synchronization depend on the IdP you want to use. There are prerequisites to enable team synchronization that apply to every IdP. Each individual IdP has additional prerequisites.

Prerequisites

{% data reusables.identity-and-permissions.team-sync-required-permissions %}

You must enable SAML single sign-on for your organization and your supported IdP. For more information, see "AUTOTITLE."

You must have a linked SAML identity. To create a linked identity, you must authenticate to your organization using SAML SSO and the supported IdP at least once. For more information, see "AUTOTITLE."

[!NOTE] For team synchronization to work, your SAML settings must contain a valid IdP URL for the "Issuer" field. For more information, see "Enabling and testing SAML single sign-on for your organization."

Enabling team synchronization for Entra ID

{% data reusables.identity-and-permissions.team-sync-azure-permissions %}

{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.security %} {% data reusables.identity-and-permissions.team-sync-confirm-saml %} {% data reusables.identity-and-permissions.enable-team-sync-azure %} {% data reusables.identity-and-permissions.team-sync-confirm %}

  1. Review the identity provider tenant information you want to connect to your organization, then click Approve.

Enabling team synchronization for Okta

Okta team synchronization requires that SAML and SCIM with Okta have already been set up for your organization.

To avoid potential team synchronization errors with Okta, we recommend that you confirm that SCIM linked identities are correctly set up for all organization members who are members of your chosen Okta groups, before enabling team synchronization on {% data variables.product.prodname_dotcom %}.

If an organization member does not have a linked SCIM identity, then team synchronization will not work as expected and the user may not be added or removed from teams as expected. If any of these users are missing a SCIM linked identity, you will need to re-provision them.

For help on provisioning users that have missing a missing SCIM linked identity, see "AUTOTITLE."

{% data reusables.identity-and-permissions.team-sync-okta-requirements %}

{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.security %} {% data reusables.identity-and-permissions.team-sync-confirm-saml %} {% data reusables.identity-and-permissions.team-sync-confirm-scim %}

  1. Consider enforcing SAML in your organization to ensure that organization members link their SAML and SCIM identities. For more information, see "AUTOTITLE." {% data reusables.identity-and-permissions.enable-team-sync-okta %}
  2. Under your organization's name, in the "SSWS Token" field, type a valid SSWS token.
  3. In the "URL" field, type the URL for your Okta instance.
  4. Review the identity provider tenant information you want to connect to your organization, then click Create.

{% ifversion team-sync-manage-org-invites %}

Managing whether team sync can re-invite non-members to your organization

{% data reusables.saml.team-sync-pending-invites %}

{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.security %}

  1. Under "Team synchronization", select or deselect Do not allow Team Sync to re-invite past members to this organization that were removed by an organization owner. {% endif %}

Disabling team synchronization

{% data reusables.identity-and-permissions.team-sync-disable %}

{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.security %}

  1. Under "Team synchronization", click Disable team synchronization.