|
1 | 1 | --- |
2 | 2 | id: azure-scim |
3 | 3 | title: Azure AD Scim User Provisioning |
4 | | -hide_title: true |
| 4 | +hide_title: false |
5 | 5 | sidebar_label: Azure AD |
6 | 6 | description: Integrating LambdaTest SCIM with Azure AD |
7 | 7 | keywords: |
@@ -34,15 +34,7 @@ slug: scim/azure/ |
34 | 34 | }) |
35 | 35 | }} |
36 | 36 | ></script> |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | -# LambdaTest SCIM Auto User Provisioning with Azure AD |
42 | | - |
43 | | -* * * |
44 | | -## Prerequisites ## |
45 | | ---- |
| 37 | +## Prerequisites |
46 | 38 | Integrate SCIM With LambdaTest: |
47 | 39 |
|
48 | 40 | * You will need an Enterprise plan with LambdaTest. |
@@ -77,17 +69,44 @@ Integrate SCIM With LambdaTest: |
77 | 69 | **Step 8:** Under the Mappings section, select Synchronize Azure Active Directory Users. |
78 | 70 | <img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/mapping-tab.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/> |
79 | 71 |
|
80 | | -**Step 9:** Review the User Attribute mappings: |
81 | | -<img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/attribute-mapping.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/> |
| 72 | +**Step 9:** Creating Custom Attributes |
| 73 | + |
| 74 | +- Show advanced options > Edit attribute list for customappsso > Add attributes |
| 75 | +- userName, Active, name.givenName, name.familyName are required attributes |
82 | 76 |
|
83 | | -userName, Active, name.givenName, name.familyName are required attributes |
| 77 | +<img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/userName.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/> |
| 78 | + |
| 79 | +- **`urn:ietf:params:scim:schemas:extension:LambdaTest:2.0:User:OrganizationRole`**: Custom attribute used to set LambdaTest Organization Role for Users, If this attribute is not mapped User role would be set by default. Allowed values are (Admin/Guest/User) |
84 | 80 |
|
85 | | -**urn:ietf:params:scim:schemas:extension:LambdaTest:2.0:User:OrganizationRole**: Custom attribute used to set LambdaTest Organization Role for Users, If this attribute is not mapped **User** role would be set by default. Allowed values are (Admin/Guest/User) |
| 81 | +- **`urn:ietf:params:scim:schemas:extension:LambdaTest:2.0:User:LambdatestGroup`**: Used to assign an existing group in Lambdatest to a new user created in lambdatest through SCIM. (Applicable only if organisation has group support active) |
86 | 82 |
|
87 | 83 | For filtering only **userName** attribute is supported and must be selected for filtering, click edit on userPrincipalName and make sure **Apply this mapping** is set to **Always** |
88 | 84 |
|
89 | | -<img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/userName.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/> |
| 85 | +<img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/attribute-mapping.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/> |
| 86 | + |
| 87 | +- **Dynamic/Static assignment of custom attributes**: After custom attribute creation, we have to map them using “Add new mapping” |
| 88 | + |
| 89 | +<img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/dynamic_1.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/> |
| 90 | + |
| 91 | +<img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/dynamic_2.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/> |
| 92 | + |
| 93 | + |
| 94 | +Now there are three types Mapping type in AzureAD, “Direct”, “Constant” and “Expression”. |
| 95 | + |
| 96 | + |
| 97 | +For example we can set Constant association “Guest” for `urn:ietf:params:scim:schemas:extension:LambdaTest:2.0:User:OrganizationRole` |
| 98 | + |
| 99 | +<img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/dynamic_3.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/> |
| 100 | + |
| 101 | +Or, can create association using the Expression like this , |
| 102 | + |
| 103 | +`IIF(SingleAppRoleAssignment([appRoleAssignments])="Admin", "Admin"`, |
| 104 | +`IIF(SingleAppRoleAssignment([appRoleAssignments])="Guest", "Guest"`, |
| 105 | +`IIF(SingleAppRoleAssignment([appRoleAssignments])="User", "User", "User")))` |
| 106 | + |
| 107 | +In the above example we are using the appRoleAssignments attribute of microsoft user to set string value. |
90 | 108 |
|
| 109 | +After custom attribute creation, we have to map them using “Add new mapping” |
91 | 110 |
|
92 | 111 | **Step 10:** To enable the Azure AD provisioning service for LambdaTest, change the Provisioning Status to On in the Settings section. |
93 | 112 | <img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/provisioning-on.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/> |
|
0 commit comments