# Microsoft Entra ID automatic user provisioning

{% hint style="info" %}
Before you start, make sure you have generated your SCIM access token.
{% endhint %}

{% hint style="info" %}
Prventi currently does not support SCIM Group syncing.
{% endhint %}

### Register Prventi in Microsoft Entra

1. Sign into your [Microsoft Entra](https://entra.microsoft.com) admin center
2. In the left pane, expand `Applications`
3. Select `Enterprise Applications`
4. Select `+ New application`
5. Select `+ Create your own application`
6. Enter a name for your application, you can use `Prventi SCIM`
7. Make sure `Integrate any other application you don't find in the gallery (Non-gallery)` is selected
8. Select `Create` to submit the form

### Configure provisioning

1. In the app that you have just created, find and select `Provisioning` in the left pane under `Manage`
2. Now do the same again
3. Select `Automatic` from the `Provisioning Mode` dropdown list
4. Enter [https://app.prventi.com/scim\_v2](https://prventi.com/scim_v2) in the `Tenant URL` field
5. Enter your Prventi SCIM token in the `Secret Token` field
6. Select `Test Connection` to make sure that your connection is working
7. Select `Save` to commit your configuration

### Disable Groups provisioning

1. Once saved, expand the mappings option in `Provisioning`
2. Select `Provision Active Directory Groups`
3. Set `Enabled` to `No` and save

### Add Users and Groups

1. Select `Users and Groups` under `Manage` in the left pane
2. Add the users and groups that you want to sync to Prventi
3. Save

### Start Provisioning

1. Navigate back to the root of your app
2. Select `Provisioning` under `Manage` in the left pane
3. Select `Start Provisioning`
