# SCIM Setup for Microsoft Entra ID (Old)

### Overview <a href="#overview" id="overview"></a>

This technical guide offers comprehensive insights into the integration capabilities of MangoApps with Azure Active Directory (AD) using the System for Cross-domain Identity Management (SCIM) standard. SCIM is an open standard designed to automate user provisioning and lifecycle management.

MangoApps seamlessly integrates with Microsoft Entra ID through SCIM provisioning using the Security Assertion Markup Language (SAML). This integration provides organizations with automated user provisioning and lifecycle management, ensuring a streamlined and efficient process.

***

### Admin Portal within MangoApps <a href="#id-1.-admin-portal-within-mangoapps" id="id-1.-admin-portal-within-mangoapps"></a>

To begin, navigate to **SSO -> SAML ->Add SSO** **Connection** within the Admin Portal

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252FjaP0OMOgl6OFebLbryqR%252F14-02-2024-08-52-24.png%3Falt%3Dmedia%26token%3D355b5413-bc7e-407f-824f-ef05c9c7f346&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=871afcbd&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Click the **Add SSO Connection** button to bring up the **Add SSO Connection pop-up** menu.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252F8cOIC6zk4rWVdQfNkfn2%252F14-02-2024-08-55-20.png%3Falt%3Dmedia%26token%3D76fa826f-247f-4f9a-9aed-d3e8346cc141&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=4acc8eeb&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Select **Azure Active Directory** from the identity provider dropdown menu and provide an easily identifiable name for the connection.

**JIT User Provisioning**: When **enabled**, this feature automatically creates and activates a user within the MangoApps domain after successful authentication with the Single Sign-On (SSO) provider. This feature only applies when the user's credentials are nonexistent or when the user is in a deactivated state within the MangoApps domain. If the user already exists within the domain but is in a suspended state, MangoApps will **not** activate the user.

{% hint style="info" %}
This feature can remain toggled **off** as, in this case, user provisioning will be automatically handled through SCIM.
{% endhint %}

**Remember User**: When enabled, this feature retains the user's session, allowing for automatic login during their subsequent visits. The user session is cleared only when the user explicitly logs out.

**Metadata**: If your IDP provides a meta data URL, MangoApps can directly read the xml and auto-populate the fields below.

{% hint style="info" %}
This field will remain blank as we will be inputting configurations manually.
{% endhint %}

**Configure Manually**: The fields in this dropdown menu allow you to add manual configuration information. **Most of these fields will populate automatically during the setup process.**

{% hint style="info" %}
Copy the **ACS URL (HTTPS)** to a notepad or other documentation program as we will make use of it later.
{% endhint %}

***

### Microsoft Entra ID **Portal** <a href="#id-2.-azure-portal" id="id-2.-azure-portal"></a>

Once the above information has been entered, navigate to your Microsoft Entra ID portal: <https://portal.azure.com/>

From here, navigate to **Enterprise applications** and create a new application.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252FVfcss4x5xl6rHXVb3pc6%252Fewrwq.png%3Falt%3Dmedia%26token%3D9534f609-8c51-4402-a71b-e7a156cad044&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=bb0380d9&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

On the Create your own applications screen to the right, enter a name for the app which we will be integrating into MangoApps and select the last option from the multiple choice field, "Integrate any other application you don't find in the gallery (Non-gallery)". Since we will be integrating with a third party application.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252Fy3neoqoh9Z8i4ctNBAdH%252Fqwe.png%3Falt%3Dmedia%26token%3D289de47f-04ee-46d7-a350-1adf8511b64a&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=47ff3670&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

If need be, refresh your Enterprise Application page, otherwise you will be automatically directed to your new application.

From this new application menu, navigate to the **Single Sign-On** section from the left hand navigation menu or click **Get Started** under **Setup up single sign on** from the center menu.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252F6HTcIGTw6diKus538NSz%252Fwef.png%3Falt%3Dmedia%26token%3Ddb11503e-6039-4140-9721-520a14d0bee8&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=4a95ca3&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Select **SAML** as your SSO method. This will direct you to the **SAML-based Sign-on** options.

Within this menu, we will be editing the **Basic SAML Configuration** section.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252FM0lIyCiLAWzKTQVKbL24%252Fwefhowefiw1.png%3Falt%3Dmedia%26token%3Df02e6a95-115c-48e3-bb24-c8546b441923&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=19293bf7&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

***

### Basic SAML Configuration Menu <a href="#id-3.-basic-saml-configuration-menu" id="id-3.-basic-saml-configuration-menu"></a>

In the configuration menu, paste the **ACS URL (HTTPS)** we copied earlier from our MangoApps domain in the **Reply URL** field.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252FM6Y9MLyB97OLBSss0xMS%252F14-02-2024-12-56-43.png%3Falt%3Dmedia%26token%3Dcf1fbf69-0ce3-4253-96ab-fb6a6079a479&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=a0db4d72&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Click **Add Identifier** under **Identifier (Entity ID)** and paste in the Microsoft Entra Identifier.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252FN2bRhoj3PoTI5sPBGI80%252F14-02-2024-01-08-31.png%3Falt%3Dmedia%26token%3D196f238e-8053-45c5-8f77-45ad80ecf5ac&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=2b57ac31&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
**Sign on URL**, **Relay State**, and **Logout URL** are all optional in this case.
{% endhint %}

Click **Save** to save your configuration.

{% hint style="danger" %}
Double check the **Attributes & Claims** section as, depending on the identifier your company uses for users, you may need to use Object ID or the principle name. This Identifier **cannot** be different than how your users are signing in.
{% endhint %}

***

### SAML Setup in MangoApps <a href="#id-4.-saml-setup-in-mangoapps" id="id-4.-saml-setup-in-mangoapps"></a>

While still in the Microsoft Entra ID portal, scroll down to the **SAML Certificates** section. Copy the **App Federation Metadata URL.**

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252F7Hm8TCVw4mKikUBKBe1b%252F14-02-2024-01-08-31a.png%3Falt%3Dmedia%26token%3Dd62ac426-dc69-4c34-92d2-39431e1c4703&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=4849248a&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Moving back to the **MangoApps Admin Portal**, paste the URL copied from the Microsoft Entra ID portal to the **Metadata** field. Click **Read from URL** to populate the manual configuration fields and double check all fields are correct. **Save** the configuration.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252FWV6XTqJxzXmPXcu4CBbz%252F14-02-2024-01-26-18.png%3Falt%3Dmedia%26token%3D8e26268c-c86a-4da2-ad4d-591ac0a46df5&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=bd3a2a43&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
If you encounter an error with the link populated into the SAML 2.0 Endpoint field, please contact your Account Management Team for troubleshooting support or view the vendor video below.
{% endhint %}

***

### Configure User Mappings with SAML Connection <a href="#id-5.-configure-user-mappings-with-saml-connection" id="id-5.-configure-user-mappings-with-saml-connection"></a>

After testing your SAML connection and verifying all fields are correct, click **Configure User Mappings** next to the newly created SAML connection. This will bring up the **User Mappings** window.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252FDSxWbMT84o7HsNkGAXLd%252F14-02-2024-01-49-02e.png%3Falt%3Dmedia%26token%3D1d942558-ecfa-46e5-842f-3bcaf249ef27&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=b6d952d&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Take note of the **SCIM Base URL** and the **SCIM Bearer Token**, as we will be using these shortly.

Switching back to the **Azure Portal SAML App Settings**, navigate to the **Provisioning** section on the left hand navigation menu.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252Fecf7AkTYcxQHxFEWivxp%252F14-02-2024-01-57-33.png%3Falt%3Dmedia%26token%3D0993117a-bbb4-464e-9b83-ddbc798f4773&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=3b88f450&#x26;sv=2" alt="" width="375"><figcaption></figcaption></figure>

Select **Get Started**. On the subsequent menu you will want to set the following:

* Set the Provisioning Mode as Automatic
* Paste the **SCIM Base URL** you copied to the **Tenant URL** section on Microsoft Entra ID.
* Paste the **SCIM Bearer Token** copied from MangoApps to the **Secret Token** section in Microsoft Entra ID.
* Click on **Test Connection** to ensure it is a success. Make sure to save the connection again in MangoApps before testing.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252FtwFIkJt6wU6oCHW5VhM9%252Fretw4r.png%3Falt%3Dmedia%26token%3D947744de-de85-4e25-b29d-14909a66146b&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=d7652419&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

The SCIM provisioning is now complete! The SCIM will run automatically or you can provision on demand if need be.

***

### Add Users <a href="#id-6.-add-users" id="id-6.-add-users"></a>

Once the provisioning settings are setup and tested successfully, navigate to **Users and groups** within the Microsoft Entra ID Portal. If this section does not already have Users for your organization populated, click **+Add user/group** from the top menu to begin adding users.

<figure><img src="https://guides.mangoapps.com/~gitbook/image?url=https%3A%2F%2F1733114811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lclpq021Ai9jH1_X4gO%252Fuploads%252FvG1qzwgLEFoG3ZzFtfvN%252Fwefw.png%3Falt%3Dmedia%26token%3De776dc9c-10b5-444e-9fb5-d5fc9a5c775e&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=8aaa830b&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Once users have been added in this way, Microsoft Entra ID will automatically sync them to MangoApps.

***

### Vendor Walkthrough Video <a href="#vendor-walkthrough-video" id="vendor-walkthrough-video"></a>

In the following video, we will guide you through the integration setup of MangoApps with Azure Active Directory (AD) using Entra ID, incorporating Single Sign-On (SSO) with Security Assertion Markup Language (SAML) connections.

This video will offer a step-by-step walkthrough of the System for Cross-domain Identity Management (SCIM) provisioning process. We aim to provide comprehensive guidance on each stage of the integration, ensuring a smooth and efficient setup. We will also tackle two common troubleshooting issues that may arise during the configuration process. Our goal is to address these challenges proactively in the event they should occur.

{% embed url="<https://mangoapps.wistia.com/medias/h8pby0876k>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.mangoapps.com/integrations-guide/single-sign-on/sso-integrations-by-provider/sso-integrations-for-microsoft/scim-setup-for-microsoft-entra-id-old.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
