How to create Azure service principal for UiPath Webapp?

How to create azure service principal for UiPath Webapp?

While creating the Azure webapp, it is required to create the Azure AD controlled roles and service principal for other applications to be able to access each other.

  1. Go to Azure portal and sign in with your account
  2. Search for Azure Active Directory or Azure Entra ID

image.png

image.png

  1. Click on App Registrations at the LHS pane, which will change the options on the page

image.png

  1. Click on the +New Registration button at the top

image.png

  1. Select the required option in the next page - generally it will be the first one which is for organization wide access. Click register at the bottom

image.png

  1. After clicking register in the previous step, below page will load , click onto "certificates & secrets" in the left-hand pane > "new client secret" in the middle pane > search and select the created service principal (the one which registered) > click "select" at the bottom.

image.png

  1. It loads below page with the secret information, which needs to be copied and saved, because this is not retrievable afterwards.

image.png

  1. Now go to the resource group or the subscription, whatever level this access needs to be given. And assign the required role. This example below, demonstrates the resource group level access

image.png

  1. In the next page you are presented with, select the role, this example demonstrates "Owner" role

image.png

  1. After clicking OK / Next on the previous step, a new one will be presented, select and add the service principal and click select at the bottom, further click next

image.png

  1. Select the option and subsequent roles ( select the first option which has roles of lesser privilege and this is recommended as well). However, for this demonstration purposes privileged access has been utilized

image.png

  1. Final page will be for your review, and then click review and assign at the bottom.