|
| 1 | +--- |
| 2 | +title: 'Tutorial: Configure Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service for automatic user provisioning with Azure Active Directory | Microsoft Docs' |
| 3 | +description: Learn how to automatically provision and de-provision user accounts from Azure AD to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service. |
| 4 | +services: active-directory |
| 5 | +documentationcenter: '' |
| 6 | +author: twimmers |
| 7 | +writer: Thwimmer |
| 8 | +manager: beatrizd |
| 9 | + |
| 10 | +ms.assetid: 48afc8f5-a030-42da-9ffa-14fe5f80e333 |
| 11 | +ms.service: active-directory |
| 12 | +ms.subservice: saas-app-tutorial |
| 13 | +ms.workload: identity |
| 14 | +ms.devlang: na |
| 15 | +ms.topic: tutorial |
| 16 | +ms.date: 08/08/2022 |
| 17 | +ms.author: Thwimmer |
| 18 | +--- |
| 19 | + |
| 20 | +# Tutorial: Configure Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service for automatic user provisioning |
| 21 | + |
| 22 | +This tutorial describes the steps you need to perform in both Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service and Azure Active Directory (Azure AD) to configure automatic user provisioning. When configured, Azure AD automatically provisions and de-provisions users and groups to [Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service](https://www.paloaltonetworks.com/) 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). |
| 23 | + |
| 24 | + |
| 25 | +## Capabilities supported |
| 26 | +> [!div class="checklist"] |
| 27 | +> * Create users in Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service. |
| 28 | +> * Remove users in Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service when they do not require access anymore. |
| 29 | +> * Keep user attributes synchronized between Azure AD and Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service. |
| 30 | +> * Provision groups and group memberships in Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service. |
| 31 | +> * [Single sign-on](palo-alto-networks-cloud-identity-engine---cloud-authentication-service-tutorial.md) to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service (recommended). |
| 32 | +
|
| 33 | +## Prerequisites |
| 34 | + |
| 35 | +The scenario outlined in this tutorial assumes that you already have the following prerequisites: |
| 36 | + |
| 37 | +* [An Azure AD tenant](../develop/quickstart-create-new-tenant.md). |
| 38 | +* 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). |
| 39 | +* A user account in Palo Alto Networks with Admin rights. |
| 40 | + |
| 41 | + |
| 42 | +## Step 1. Plan your provisioning deployment |
| 43 | +1. Learn about [how the provisioning service works](../app-provisioning/user-provisioning.md). |
| 44 | +1. Determine who will be in [scope for provisioning](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md). |
| 45 | +1. Determine what data to [map between Azure AD and Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service](../app-provisioning/customize-application-attributes.md). |
| 46 | + |
| 47 | +## Step 2. Configure Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service to support provisioning with Azure AD |
| 48 | + |
| 49 | +Contact [Palo Alto Networks Customer Support](https://support.paloaltonetworks.com/support) to obtain the **SCIM Url** and corresponding **Token**. |
| 50 | + |
| 51 | +## Step 3. Add Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service from the Azure AD application gallery |
| 52 | + |
| 53 | +Add Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service from the Azure AD application gallery to start managing provisioning to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service. If you have previously setup Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service for SSO, you can use the same application. However it is 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). |
| 54 | + |
| 55 | +## Step 4. Define who will be in scope for provisioning |
| 56 | + |
| 57 | +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 / group. 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 and groups 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). |
| 58 | + |
| 59 | +* Start small. Test with a small set of users and groups before rolling out to everyone. When scope for provisioning is set to assigned users and groups, you can control this by assigning one or two users or groups to the app. When scope is set to all users and groups, you can specify an [attribute based scoping filter](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md). |
| 60 | + |
| 61 | +* If you need additional roles, you can [update the application manifest](../develop/howto-add-app-roles-in-azure-ad-apps.md) to add new roles. |
| 62 | + |
| 63 | + |
| 64 | +## Step 5. Configure automatic user provisioning to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service |
| 65 | + |
| 66 | +This section guides you through the steps to configure the Azure AD provisioning service to create, update, and disable users and/or groups in Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service based on user and/or group assignments in Azure AD. |
| 67 | + |
| 68 | +### To configure automatic user provisioning for Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service in Azure AD: |
| 69 | + |
| 70 | +1. Sign in to the [Azure portal](https://portal.azure.com). Select **Enterprise Applications**, then select **All applications**. |
| 71 | + |
| 72 | +  |
| 73 | + |
| 74 | +1. In the applications list, select **Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service**. |
| 75 | + |
| 76 | +  |
| 77 | + |
| 78 | +1. Select the **Provisioning** tab. |
| 79 | + |
| 80 | +  |
| 81 | + |
| 82 | +1. Set the **Provisioning Mode** to **Automatic**. |
| 83 | + |
| 84 | +  |
| 85 | + |
| 86 | +1. Under the **Admin Credentials** section, input your Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service Tenant URL and Secret Token. Click **Test Connection** to ensure Azure AD can connect to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service. If the connection fails, ensure your Palo Alto Networks account has Admin permissions and try again. |
| 87 | + |
| 88 | +  |
| 89 | + |
| 90 | +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. |
| 91 | + |
| 92 | +  |
| 93 | + |
| 94 | +1. Select **Save**. |
| 95 | + |
| 96 | +1. Under the **Mappings** section, select **Synchronize Azure Active Directory Users to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service**. |
| 97 | + |
| 98 | +1. Review the user attributes that are synchronized from Azure AD to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service in the **Attribute-Mapping** section. The attributes selected as **Matching** properties are used to match the user accounts in Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service for update operations. If you choose to change the [matching target attribute](../app-provisioning/customize-application-attributes.md), you will need to ensure that the Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service API supports filtering users based on that attribute. Select the **Save** button to commit any changes. |
| 99 | + |
| 100 | + |Attribute|Type|Supported for filtering|Required by Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service| |
| 101 | + |---|---|---|---| |
| 102 | + |userName|String|✓|✓ |
| 103 | + |active|Boolean||✓ |
| 104 | + |displayName|String||✓ |
| 105 | + |title|String|| |
| 106 | + |emails[type eq "work"].value|String|| |
| 107 | + |emails[type eq "other"].value|String|| |
| 108 | + |preferredLanguage|String|| |
| 109 | + |name.givenName|String||✓ |
| 110 | + |name.familyName|String||✓ |
| 111 | + |name.formatted|String||✓ |
| 112 | + |name.honorificSuffix|String|| |
| 113 | + |name.honorificPrefix|String|| |
| 114 | + |addresses[type eq "work"].formatted|String|| |
| 115 | + |addresses[type eq "work"].streetAddress|String|| |
| 116 | + |addresses[type eq "work"].locality|String|| |
| 117 | + |addresses[type eq "work"].region|String|| |
| 118 | + |addresses[type eq "work"].postalCode|String|| |
| 119 | + |addresses[type eq "work"].country|String|| |
| 120 | + |addresses[type eq "other"].formatted|String|| |
| 121 | + |addresses[type eq "other"].streetAddress|String|| |
| 122 | + |addresses[type eq "other"].locality|String|| |
| 123 | + |addresses[type eq "other"].region|String|| |
| 124 | + |addresses[type eq "other"].postalCode|String|| |
| 125 | + |addresses[type eq "other"].country|String|| |
| 126 | + |phoneNumbers[type eq "work"].value|String|| |
| 127 | + |phoneNumbers[type eq "mobile"].value|String|| |
| 128 | + |phoneNumbers[type eq "fax"].value|String|| |
| 129 | + |externalId|String|| |
| 130 | + |urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:employeeNumber|String|| |
| 131 | + |urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department|String|| |
| 132 | + |urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:manager|String|| |
| 133 | + |
| 134 | + > [!NOTE] |
| 135 | + > **Schema Discovery** is enabled on this app. Hence you might see more attributes in the application than mentioned in the table above. |
| 136 | + |
| 137 | +1. Under the **Mappings** section, select **Synchronize Azure Active Directory Groups to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service**. |
| 138 | + |
| 139 | +1. Review the group attributes that are synchronized from Azure AD to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service in the **Attribute-Mapping** section. The attributes selected as **Matching** properties are used to match the groups in Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service for update operations. Select the **Save** button to commit any changes. |
| 140 | + |
| 141 | + |Attribute|Type|Supported for filtering|Required by Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service| |
| 142 | + |---|---|---|---| |
| 143 | + |displayName|String|✓|✓ |
| 144 | + |members|Reference|| |
| 145 | + |
| 146 | +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). |
| 147 | + |
| 148 | +1. To enable the Azure AD provisioning service for Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service, change the **Provisioning Status** to **On** in the **Settings** section. |
| 149 | + |
| 150 | +  |
| 151 | + |
| 152 | +1. Define the users and/or groups that you would like to provision to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service by choosing the desired values in **Scope** in the **Settings** section. |
| 153 | + |
| 154 | +  |
| 155 | + |
| 156 | +1. When you are ready to provision, click **Save**. |
| 157 | + |
| 158 | +  |
| 159 | + |
| 160 | +This operation starts the initial synchronization cycle of all users and groups 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. |
| 161 | + |
| 162 | +## Step 6. Monitor your deployment |
| 163 | +Once you've configured provisioning, use the following resources to monitor your deployment: |
| 164 | + |
| 165 | +* Use the [provisioning logs](../reports-monitoring/concept-provisioning-logs.md) to determine which users have been provisioned successfully or unsuccessfully |
| 166 | +* 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 is to completion |
| 167 | +* If the provisioning configuration seems to be in an unhealthy state, the application will go into quarantine. Learn more about quarantine states [here](../app-provisioning/application-provisioning-quarantine-status.md). |
| 168 | + |
| 169 | + |
| 170 | +## More resources |
| 171 | + |
| 172 | +* [Managing user account provisioning for Enterprise Apps](../app-provisioning/configure-automatic-user-provisioning-portal.md) |
| 173 | +* [What is application access and single sign-on with Azure Active Directory?](../manage-apps/what-is-single-sign-on.md) |
| 174 | + |
| 175 | +## Next steps |
| 176 | + |
| 177 | +* [Learn how to review logs and get reports on provisioning activity](../app-provisioning/check-status-user-account-provisioning.md) |
0 commit comments