SCIM Azure
This feature is available in ReportPortal with a managed services subscription.
ReportPortal allows you to synchronize users and groups from Azure Microsoft Entra ID to ReportPortal via SCIM.
Creating a SCIM provisioning
-
Log in to Azure portal.
-
Go to the
Azure Enterprise Applicationssection and clickNew application.
- Click
Create your own application.
- Enter the name of your application.
Choose the
Integrate any other application you don't find in the gallery (Non-gallery)bullet and click theCreatebutton.
- After creating an application, go to the
Provisioningsection and clickNew configuration.
- Fill in the following fields:
- Tenant URL:
https://{your_scim_server_host}?aadOptscim062020 - Secret Token:
your_admin_api_key
?aadOptscim062020 is a special parameter that allows you to use the a SCIM compatible protocol.
- Click
Test Connectionto check the connection and clickCreate.
Set up Attribute mapping
- Go to the
Attribute mappingsection and clickProvision Microsoft Entra ID Users.
- In the
Attribute Mappingssection, find and delete theurn:ietf:params:scim:schemas:extension:enterprise:2.0:User:managerattribute. For some reason, Azure sends this attribute with the wrong SCIM format. This attribute is not used in ReportPortal.
- Click
Saveto save the changes.
Admin role synchronization
For proper synchronization of the admin role, you need to create a new App-role in Azure.
- Go to the
Provisioning->Users and groupssection and clickapplication registration.
- Click to
Create app role.
- Fill in the following fields:
- Display name:
Administrator - Value:
Administrator - Description:
Administrator role
-
Click
Apply. -
Select the
Userrole and fill the Value field withUser. -
Click
Apply. -
Return to the configured enterprise application and go to the
Provisioning->Attribute mapping->Provision Microsoft Entra ID Userssection.
- Select the
Show advanced optionscheckbox at the bottom and click theEdit attribute list for customappssolink.
- You will see the
Edit Attribute List. At the bottom of the list, fill in the empty fields with the namerolesand typeString.
-
Click
Save. -
Return to the
Provision Microsoft Entra ID Usersand clickAdd New Mapping.
- Fill in the following fields:
- Mapping type:
Expression - Expression:
AppRoleAssignmentsComplex([appRoleAssignments]) - Target attribute:
roles
Keep default values for other fields.
- Click
Okand thenSave.
After these steps, when you add users or groups to the Azure project you can select
an application role for them: User or Administrator.
This role will be synchronized with the ReportPortal user instance role.