|
| 1 | +--- |
| 2 | +title: "Configuring MS Entra with DataHub" |
| 3 | +hide_title: true |
| 4 | +--- |
| 5 | +import FeatureAvailability from '@site/src/components/FeatureAvailability'; |
| 6 | + |
| 7 | +# Entity Events API |
| 8 | +<FeatureAvailability saasOnly /> |
| 9 | + |
| 10 | +# Configuring User/Group/Roles provisioning from MS Entra to DataHub |
| 11 | + |
| 12 | +1. **Generate Personal Access Token**: |
| 13 | + Generate a personal access token from [DataHub](https://datahubproject.io/docs/next/authentication/personal-access-tokens/#creating-personal-access-tokens). |
| 14 | + |
| 15 | +2. **Integrate DataHub With MS Entra**: Follow steps [Integrate your SCIM endpoint with the Microsoft Entra provisioning service](https://learn.microsoft.com/en-gb/entra/identity/app-provisioning/use-scim-to-provision-users-and-groups#integrate-your-scim-endpoint-with-the-microsoft-entra-provisioning-service) to integrate DataHub SCIM endpoint into MS Entra. |
| 16 | + |
| 17 | + a. Set the `Tenant URL` to `https://<hostname>/gms/openapi/scim/v2`. Replace `<hostname>` with your DataHub instance hostname. |
| 18 | + |
| 19 | + b. Set the `Secret Token` to Personal Access Token created in Step 1. |
| 20 | + |
| 21 | +3. **Update Attribute Mapping For Role**: |
| 22 | + |
| 23 | + a. Go to `Provisioning` section inside the App and click on `Provision Microsoft Entra ID Users` as shown in below image |
| 24 | + |
| 25 | + <p> |
| 26 | + <img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/scim/provisioning.png"/> |
| 27 | + </p> |
| 28 | + |
| 29 | + b. Click on `Add Mapping` |
| 30 | + |
| 31 | + <p> |
| 32 | + <img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/scim/add-new-mapping.png"/> |
| 33 | + </p> |
| 34 | + |
| 35 | + c. Fill detail as shown in below image |
| 36 | + |
| 37 | + <p> |
| 38 | + <img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/scim/edit-mapping-form.png"/> |
| 39 | + </p> |
| 40 | + |
| 41 | + d. **Create Role**: Go to `Provisioning` section and click on `application registration.` to create the role |
| 42 | + |
| 43 | + <p> |
| 44 | + <img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/scim/application-registration.png"/> |
| 45 | + </p> |
| 46 | + |
| 47 | + Create three roles having `Display Name` and `Value` as mentioned below |
| 48 | + |
| 49 | + - Admin |
| 50 | + - Editor |
| 51 | + - Reader |
| 52 | + |
| 53 | + e. While creating the App Role set `Allowed member types` to `Users/Groups` |
| 54 | + |
| 55 | +4. **Add Users/Groups/Roles in the App**: Go to application created in step #1 and click on `Add user/group` as shown in below image |
| 56 | + |
| 57 | + <p> |
| 58 | + <img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/scim/add-user-group.png"/> |
| 59 | + </p> |
| 60 | + |
| 61 | + On the screen choose |
| 62 | + - Group/User |
| 63 | + - And role for the Group/User. The role should be one of the role created in Step 3 |
0 commit comments