---
updatedAt: 2026-04-03T09:41:12.000Z
agentTools:
  projectIndex: https://docs.customgpt.ai/llms.txt
---

# SSO setup with Microsoft Entra ID

Learn how to add CustomGPT.ai to your Microsoft Entra ID through your identity provider settings. Follow our step-by-step guide for a seamless setup.

1. Go to <https://entra.microsoft.com/>.
2. Search for and go to **Enterprise Applications**.

<Image align="center" border={true} src="https://files.readme.io/3736ecc6a77f2ba510003ce7caf557253f568d02b0e473195274ce3fa951e2ba-Search_bar_enterprise_application_on_entra_page.png" className="border" />

3. Click on **+ New Application**.

<Image align="center" border={true} src="https://files.readme.io/74fe35f1f4869ed7c18c86903fc4b9f79e0f0218ef37ac9495f6df0045a1365b-new_application_button_on_the_enterprise_application_page.png" className="border" />

4. Click on **Create your own application**.

<Image align="center" border={true} src="https://files.readme.io/faa7a2daec23d24b2207d7ba1b6c8571115838b065a9d2e46080fd990a0c03a5-Create_new_application_in_entra.png" className="border" />

5. Enter a name for the application, select **Integrate any other application you don't find in the gallery (Non-gallery)**, and then click **Create**.

<Image align="center" border={true} src="https://files.readme.io/be339a8993da7b798bf45a1db25ee6f67d68e4ad464dc2f012fa24a647cc90b3-image.png" className="border" />

6. Under **Getting Started** go to **Assign users and groups**.

<Image align="center" border={true} src="https://files.readme.io/f86cc311e1145e22323bbc11d8c447062317cd18688d339c02453ddb2bdbcc1d-image.png" className="border" />

<br />

> 🚧 Note:
>
> Only the users and groups that are assigned in the steps will be able to access the CustomGPT.ai application.

7. Go to **Single sign-on**, through **Manage**-**>Single sign-on** In the sidebar, and click on the **SAML**.

<Image align="center" border={true} src="https://files.readme.io/92195380d73adc8215aae2fb4d698d55326e2a72eae98198c900ab2b3fd35539-image.png" className="border" />

8. Click on **Edit** in the **Basic SAML Configuration**.

<Image align="center" border={true} src="https://files.readme.io/70868ac4a3578b816f5503ef1294ddc7f363882214856b94436ee6a4e69916e0-image.png" className="border" />

9. Go to <https://docs.customgpt.ai/docs/sso-setup> and complete steps 1-4:

* Copy **Entity ID** from CustomGPT and save it as “**Identifier** (Entity ID)” in Azure.
* Copy **ACS URL** from CustomGPT and paste it as “**Reply URL** (Assertion Consumer Service URL)” in Azure.

<Image align="center" border={true} src="https://files.readme.io/9794b54ec5b0cad676c6dc7c9eb998b4a7e58c832cbf458e0c1d307acda054db-image.png" className="border" />

* Click on **Save** in top-left corner.
* Click on **Close Icon** in the top-right corner.

10. Scroll down to **Attributes & Claims** and click on **Edit**.

<Image align="center" border={true} src="https://files.readme.io/21f0dd7fb907292ff829b48e866a6df13901f0d129057c823d18896b12ba2ad2-image.png" className="border" />

11. Click on **Add new claim**, add `email = “user.principalname”` and click on **Save**.

<Image align="center" border={true} src="https://files.readme.io/2fe4a297f0f1b8136639f0d2f69139142ab26081d95da4e81901f6f970f80091-image.png" className="border" />

<Image align="center" border={true} src="https://files.readme.io/514d790b4f13bcc5234507b842066e8f7ae4f50ee6ddea909ad9109bbc8e6aa3-image.png" className="border" />

12. Add `userName = user.displayname` claim in the same way:

<Image align="center" border={true} src="https://files.readme.io/461b0daae84f6a84dbfdacbabf9d21e34707ff139c999a66c52b45e4d3263817-image.png" className="border" />

* Email and user name should be listed in Claims list as below:

<Image align="center" border={true} src="https://files.readme.io/fa571521d40332cef3e97d8d499b981c74be424a8aa331b39ab4f0de30b3b886-image.png" className="border" />

* Click on **Close Icon** in the top-right corner.

13. Scroll down to **SAML Certificates** section and download certificate in **XML** format.

<Image align="center" border={true} src="https://files.readme.io/5fae33e168d67a94a86a3b4af44e36c5731d7e5c1283e6ad723e32e44c1a6615-image.png" className="border" />

14. Go back to CustomGPT.ai app and upload downloaded **XML** Certificate in **SAML Integration** section.

<Image align="center" border={true} src="https://files.readme.io/3020b85c70d623dfa450a6b0caf0dbe55c5f13aab812f21678f72e2e23124c6e-image.png" className="border" />

<br />