Skip to content
ajan.io

Docs menu

On this page

Microsoft Entra ID Setup

Planned: SAML 2.0 and SCIM are not available in ajan yet. Today you can sign in with email / password and, where enabled, with a Google, Microsoft or LinkedIn account. Contact us about enterprise SSO.

Provision users from Entra ID to ajan using SCIM.

Overview

This guide walks you through configuring SCIM user provisioning with Microsoft Entra ID. You'll connect your existing Enterprise application to ajan's SCIM endpoint and configure automatic user synchronization.

Once complete, user changes in Entra ID will automatically sync to ajan.

Setup Checklist

Verify that you have completed these steps from the setup checklist:

Configure Connection

1\. Navigate to the Enterprise application that you set up for the SAML connection in your Azure Portal (as described in /docs/settings/security/entra).

Click on "Get started" under "Provision User Accounts".

2\. Click "Connect your application"

3\. Go over to your ajan security settings and copy the "SCIM Base URL" value.

4\. Back in your Azure Portal, enter the SCIM Base URL into the "Tenant URL" field and (!) append ?aadOptscim062020 to the end of the URL to fix known issues in Microsoft's implementation of the SCIM protocol.

Your final "Tenant URL" will look like this: https://app.ajan.com/api/scim/v2?aadOptscim062020

5\. Copy the "SCIM Bearer Token (API Key)" value from your ajan security settings...

6\. ...and paste it into the "Secret token" field in your Azure Portal.

7\. Toggle "SCIM User Sync Active" to enable SCIM for your workspace in your ajan security settings. This is required to test the connection.

8\. Back in your Azure Portal click on "Test connection" and you should see a message confirming that the connection between Entra ID and ajan is working.

9\. Click "Create" to finish the configuration

Optional: Configure Target Object Actions

You can control which SCIM operations Entra ID performs on your ajan workspace by enabling or disabling Target Object Actions in the attribute mapping. Each action controls a different type of provisioning request:

ActionWhat it does
CreateNew users are added to ajan when they are assigned to the Enterprise application in Entra ID.
UpdateChanges to a user's name or email in Entra ID are synchronized to ajan, and a member you removed in ajan is restored if they remain assigned. Deactivations are also updates: when a user is unassigned, blocked from sign-in, or soft-deleted in Entra ID, an update removes them from ajan.
DeleteUsers are removed from ajan when they are permanently deleted in Entra ID. Entra ID permanently deletes users 30 days after a soft-delete, or immediately when they are removed from the recycle bin.

You can combine these actions to match your provisioning model. For example, if you only enable Delete:

  • New users are not created in ajan and must be added another way
  • Name, email, and membership restoration are not synchronized to ajan
  • Unassigned or deactivated users stay in ajan until Entra ID permanently deletes them

To change these settings, go to "Manage" > "Provisioning" > "Mappings", select the user mapping, and adjust the Target Object Actions checkboxes.

Optional: Disable group synchronization

10\. (Optional) To customize your provisioning settings, go to "Manage" > "Provisioning". You might need this if you want to only synchronize users (but not groups) or if you want to disable one or more types of object actions (create, update or delete).

E.g. to disable synchronizing groups, click on "Mappings" and follow the optional steps below

11\. (Optional: Disabling group synchronization) Click "Provision Microsoft Entra ID Groups"

12\. (Optional: Disabling group synchronization) Click "No"

13\. (Optional: Disabling group synchronization) Click "Save" then "Yes" to confirm changes

Enable provisioning

14\. Recommended: Open down "Settings", click "Send an email notification when a failure occurs" and enter your email address

15\. Click "On" to set provisioning status to enabled

16\. Click on "Save" to finalize your changes

Verify your setup

17\. To verify that the provisioning is working as expected, go to "Monitor" > "Provisioning logs" and check if your users have been successfully mapped to ajan.

In case you don't see any logs, make sure to wait and check back in a couple of minutes. It can take a bit until the first synchronization is triggered.

If your setup was successful, you will see "Success" values in the status column.

18\. You should also see the newly synchronized users in your ajan member settings.

Updating User Email Addresses (Domain Changes)

If your organization changes email domains (e.g., from @old-company.de to @new-company.de), SCIM can automatically update user email addresses in ajan when you update them in Entra ID. However, the new domain must be configured in ajan before the email change.

Requirements

Before updating user email addresses in Entra ID:

  1. The new email domain must be added to the allowed domains in your ajan security settings
  2. The new domain must be verified (domain verification ensures you own the domain)

Process

Add the new domain to your ajan workspace

Go to your ajan security settings and add the new domain (e.g., new-company.de) to the list of allowed domains.

Verify the new domain

Add the new domain to the allowed domains in your workspace and then verify it by contacting the ajan Support.

Update user emails in Entra ID

Once the domain is added and verified in ajan, you can update the user email addresses in Microsoft Entra ID. The SCIM provisioning will automatically sync these changes to ajan.

Verify the sync

Check the provisioning logs in Entra ID (Monitor > Provisioning logs) to confirm the email updates were successful. You can also verify in your ajan member settings that the user emails have been updated.