Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help: Document configuration of SCIM with Microsoft Entra ID.
Mateusz Manderaeed98edb9db9
diff --git a/help/scim.md b/help/scim.mdindex 164887827b3..6ecbcd59ce7 100644--- a/help/scim.md+++ b/help/scim.md@@ -89,8 +89,72 @@ Zulip's SCIM integration has the following limitations:Zulip account to be updated accordingly.* Unassigning a user from the app will deactivate their Zulip account.+{tab|entraid}++{!upgrade-to-plus-if-needed.md!}++1. Contact [[email protected]](mailto:[email protected]) to request the+ **Secret Token** that Entra will use to authenticate to your SCIM API.++1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com/).++1. Go to **Identity** -> **Applications** -> **Enterprise applications**.++1. Select **New application** -> **Create your own application**.++1. Complete the form:+ * Enter a name for your application.+ * Select the option **Integrate any other application you don't find in the gallery**.+ * Click **Add** to create the new app. It will be added to your **Enterprise applications**.++1. Continue to the app's management screen and click **Provisioning** in the left panel.++1. In the **Provisioning Mode** menu, select **Automatic** and specify the following fields:+ * **Tenant URL**: `http://yourorganization.zulipchat.com/scim/v2/?aadOptscim062020`.+ The `?aadOptscim062020` part of it is a [feature flag][feature-flag]+ that needs to be added to ensure SCIM compliance by Entra ID.+ * **Secret Token**: `<token>` (given to you by Zulip support)++1. Click **Test Connection.**++1. In the **Mappings** section, there are two sets of [attribute+ mappings][attribute-mappings]: one for Users and one for+ Groups. Make sure to set **Provision Microsoft Entra ID Groups** to+ be disabled. Provisioning of Groups is currently not supported in+ Zulip.++1. In **Provision Microsoft Entra ID Users**, configure the necessary mappings:++ * Change **userName** to map to **mail**. **Important**: You need+ **mail** to be set for all your users or trying to assign them+ to the app will fail.+ * Delete the other default entries leaving only the **active** and+ **name.formatted** mappings, until your list looks like the+ image below.++ +++1. Once your configuration is complete, set the **Provisioning+ Status** to **On** and then click **Save** to start the Microsoft+ Entra provisioning service.++1. Now you can proceed to the **Users and groups** tab, where you can+ assign users to be provisioned via this integration.++1. Wait for the initial provisioning cycle to be started by+ Entra. This might take up to 40 minutes. This delay is entirely+ inside Entra, and not under Zulip’s control. You can also use+ [**Provision on demand**][provision-on-demand] in Entra to cause+ immediate SCIM provisioning for specific users, which is handy when+ testing the integration.+{end_tabs}+[attribute-mappings]: https://learn.microsoft.com/en-us/entra/identity/app-provisioning/customize-application-attributes+[feature-flag]: https://learn.microsoft.com/en-us/entra/identity/app-provisioning/application-provisioning-config-problem-scim-compatibility#flags-to-alter-the-scim-behavior+[provision-on-demand]: https://learn.microsoft.com/en-us/entra/identity/app-provisioning/provision-on-demand+!!! tip ""Once SCIM has been configured, consider also [configuring SAML](/help/saml-authentication).diff --git a/static/images/help/entraid-scim-mappings.png b/static/images/help/entraid-scim-mappings.pngnew file mode 100644index 00000000000..35a8b17834bBinary files /dev/null and b/static/images/help/entraid-scim-mappings.png differdiff --git a/zerver/lib/markdown/tabbed_sections.py b/zerver/lib/markdown/tabbed_sections.pyindex 877c47301f8..ed3d93059b7 100644--- a/zerver/lib/markdown/tabbed_sections.py+++ b/zerver/lib/markdown/tabbed_sections.py@@ -98,6 +98,7 @@ TAB_SECTION_LABELS = {"okta": "Okta","onelogin": "OneLogin","azuread": "AzureAD",+ "entraid": "Microsoft Entra ID","keycloak": "Keycloak","auth0": "Auth0","logged-in": "If you are logged in",