|
| 1 | +--- |
| 2 | +title: 'Tutorial: Configure BIS for automatic user provisioning with Azure Active Directory' |
| 3 | +description: Learn how to automatically provision and de-provision user accounts from Azure AD to BIS. |
| 4 | +services: active-directory |
| 5 | +author: twimmers |
| 6 | +writer: twimmers |
| 7 | +manager: beatrizd |
| 8 | +ms.assetid: d76e2482-4228-4907-8b4c-c75aa495a2ae |
| 9 | +ms.service: active-directory |
| 10 | +ms.subservice: saas-app-tutorial |
| 11 | +ms.workload: identity |
| 12 | +ms.topic: tutorial |
| 13 | +ms.date: 03/24/2023 |
| 14 | +ms.author: thwimmer |
| 15 | +--- |
| 16 | + |
| 17 | +# Tutorial: Configure BIS for automatic user provisioning |
| 18 | + |
| 19 | +This tutorial describes the steps you need to perform in both BIS and Azure Active Directory (Azure AD) to configure automatic user provisioning. When configured, Azure AD automatically provisions and de-provisions users to [BIS](https://www.trainanddevelop.ca/) using the Azure AD Provisioning service. For important details on what this service does, how it works, and frequently asked questions, see [Automate user provisioning and deprovisioning to SaaS applications with Azure Active Directory](../app-provisioning/user-provisioning.md). |
| 20 | + |
| 21 | + |
| 22 | +## Supported capabilities |
| 23 | +> [!div class="checklist"] |
| 24 | +> * Create users in BIS. |
| 25 | +> * Remove users in BIS when they do not require access anymore. |
| 26 | +> * Keep user attributes synchronized between Azure AD and BIS. |
| 27 | +> * [Single sign-on](bis-tutorial.md) to BIS (recommended). |
| 28 | +
|
| 29 | +## Prerequisites |
| 30 | + |
| 31 | +The scenario outlined in this tutorial assumes that you already have the following prerequisites: |
| 32 | + |
| 33 | +* [An Azure AD tenant](../develop/quickstart-create-new-tenant.md) |
| 34 | +* A user account in Azure AD with [permission](../roles/permissions-reference.md) to configure provisioning (for example, Application Administrator, Cloud Application administrator, Application Owner, or Global Administrator). |
| 35 | +* An administrator account with BIS. |
| 36 | +* Region and Country should be passed as 2 or 3 letter code and not full name. |
| 37 | +* Make sure all existing account in BIS has data in sync with Azure AD to avoid duplicate account creation (for example, email in Azure AD should match with email in BIS). |
| 38 | + |
| 39 | +## Step 1. Plan your provisioning deployment |
| 40 | +1. Learn about [how the provisioning service works](../app-provisioning/user-provisioning.md). |
| 41 | +1. Determine who will be in [scope for provisioning](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md). |
| 42 | +1. Determine what data to [map between Azure AD and BIS](../app-provisioning/customize-application-attributes.md). |
| 43 | + |
| 44 | +## Step 2. Configure BIS to support provisioning with Azure AD |
| 45 | +To get your credentials for authorization please contact [BIS Support ](mailto:[email protected]) or your Account's Manager. |
| 46 | + |
| 47 | +## Step 3. Add BIS from the Azure AD application gallery |
| 48 | + |
| 49 | +Add BIS from the Azure AD application gallery to start managing provisioning to BIS. If you have previously setup BIS for SSO you can use the same application. However it's recommended that you create a separate app when testing out the integration initially. Learn more about adding an application from the gallery [here](../manage-apps/add-application-portal.md). |
| 50 | + |
| 51 | +## Step 4. Define who will be in scope for provisioning |
| 52 | + |
| 53 | +The Azure AD provisioning service allows you to scope who will be provisioned based on assignment to the application and or based on attributes of the user. If you choose to scope who will be provisioned to your app based on assignment, you can use the following [steps](../manage-apps/assign-user-or-group-access-portal.md) to assign users to the application. If you choose to scope who will be provisioned based solely on attributes of the user or group, you can use a scoping filter as described [here](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md). |
| 54 | + |
| 55 | +* Start small. Test with a small set of users before rolling out to everyone. When scope for provisioning is set to assigned users, you can control this by assigning one or two users to the app. When scope is set to all users, you can specify an [attribute based scoping filter](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md). |
| 56 | + |
| 57 | +* If you need more roles, you can [update the application manifest](../develop/howto-add-app-roles-in-azure-ad-apps.md) to add new roles. |
| 58 | + |
| 59 | + |
| 60 | +## Step 5. Configure automatic user provisioning to BIS |
| 61 | + |
| 62 | +This section guides you through the steps to configure the Azure AD provisioning service to create, update, and disable users in TestApp based on user and/or group assignments in Azure AD. |
| 63 | + |
| 64 | +### To configure automatic user provisioning for BIS in Azure AD: |
| 65 | + |
| 66 | +1. Sign in to the [Azure portal](https://portal.azure.com). Select **Enterprise Applications**, then select **All applications**. |
| 67 | + |
| 68 | +  |
| 69 | + |
| 70 | +1. In the applications list, select **BIS**. |
| 71 | + |
| 72 | +  |
| 73 | + |
| 74 | +1. Select the **Provisioning** tab. |
| 75 | + |
| 76 | +  |
| 77 | + |
| 78 | +1. Set the **Provisioning Mode** to **Automatic**. |
| 79 | + |
| 80 | +  |
| 81 | + |
| 82 | +1. Under the **Admin Credentials** section, input your BIS Tenant URL as `https://www.bistrainer.com/scim` and corresponding Secret Token. Click **Test Connection** to ensure Azure AD can connect to BIS. If the connection fails, ensure your BIS account has Admin permissions and try again. |
| 83 | + |
| 84 | +  |
| 85 | + |
| 86 | +1. In the **Notification Email** field, enter the email address of a person or group who should receive the provisioning error notifications and select the **Send an email notification when a failure occurs** check box. |
| 87 | + |
| 88 | +  |
| 89 | + |
| 90 | +1. Select **Save**. |
| 91 | + |
| 92 | +1. Under the **Mappings** section, select **Synchronize Azure Active Directory Users to BIS**. |
| 93 | + |
| 94 | +1. Review the user attributes that are synchronized from Azure AD to BIS in the **Attribute-Mapping** section. The attributes selected as **Matching** properties are used to match the user accounts in BIS for update operations. If you choose to change the [matching target attribute](../app-provisioning/customize-application-attributes.md), you'll need to ensure that the BIS API supports filtering users based on that attribute. Select the **Save** button to commit any changes. |
| 95 | + |
| 96 | + |Attribute|Type|Supported for filtering|Required by BIS| |
| 97 | + |---|---|---|---| |
| 98 | + |userName|String|✓|✓ |
| 99 | + |active|Boolean||✓ |
| 100 | + |emails[type eq "work"].value|String|| |
| 101 | + |name.givenName|String||✓ |
| 102 | + |name.familyName|String||✓ |
| 103 | + |addresses[type eq "work"].streetAddress|String|| |
| 104 | + |addresses[type eq "work"].locality|String|| |
| 105 | + |addresses[type eq "work"].region|String||✓ |
| 106 | + |addresses[type eq "work"].postalCode|String|| |
| 107 | + |addresses[type eq "work"].country|String||✓ |
| 108 | + |phoneNumbers[type eq "work"].value|String|| |
| 109 | + |phoneNumbers[type eq "mobile"].value|String|| |
| 110 | + |externalId|String|| |
| 111 | + |title|String|| |
| 112 | + |urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:employeeNumber|String||✓ |
| 113 | + |urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department|String|| |
| 114 | + |urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:manager|String|| |
| 115 | + |urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department|String|| |
| 116 | + |name.middleName|String|| |
| 117 | + |urn:ietf:params:scim:schemas:extension:BIS:2.0:User:location|String|| |
| 118 | + |urn:ietf:params:scim:schemas:extension:BIS:2.0:User:startdate|DateTime|| |
| 119 | + |urn:ietf:params:scim:schemas:extension:BIS:2.0:User:terminationdate|DateTime|| |
| 120 | + |
| 121 | +1. To configure scoping filters, refer to the following instructions provided in the [Scoping filter tutorial](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md). |
| 122 | + |
| 123 | +1. To enable the Azure AD provisioning service for BIS, change the **Provisioning Status** to **On** in the **Settings** section. |
| 124 | + |
| 125 | +  |
| 126 | + |
| 127 | +1. Define the users that you would like to provision to BIS by choosing the desired values in **Scope** in the **Settings** section. |
| 128 | + |
| 129 | +  |
| 130 | + |
| 131 | +1. When you're ready to provision, click **Save**. |
| 132 | + |
| 133 | +  |
| 134 | + |
| 135 | +This operation starts the initial synchronization cycle of all users defined in **Scope** in the **Settings** section. The initial cycle takes longer to perform than subsequent cycles, which occur approximately every 40 minutes as long as the Azure AD provisioning service is running. |
| 136 | + |
| 137 | +## Step 6. Monitor your deployment |
| 138 | +Once you've configured provisioning, use the following resources to monitor your deployment: |
| 139 | + |
| 140 | +* Use the [provisioning logs](../reports-monitoring/concept-provisioning-logs.md) to determine which users have been provisioned successfully or unsuccessfully |
| 141 | +* Check the [progress bar](../app-provisioning/application-provisioning-when-will-provisioning-finish-specific-user.md) to see the status of the provisioning cycle and how close it's to completion |
| 142 | +* If the provisioning configuration seems to be in an unhealthy state, the application goes into quarantine. Learn more about quarantine states [here](../app-provisioning/application-provisioning-quarantine-status.md). |
| 143 | + |
| 144 | +## More resources |
| 145 | + |
| 146 | +* [Managing user account provisioning for Enterprise Apps](../app-provisioning/configure-automatic-user-provisioning-portal.md) |
| 147 | +* [What is application access and single sign-on with Azure Active Directory?](../manage-apps/what-is-single-sign-on.md) |
| 148 | + |
| 149 | +## Next steps |
| 150 | + |
| 151 | +* [Learn how to review logs and get reports on provisioning activity](../app-provisioning/check-status-user-account-provisioning.md) |
0 commit comments