Integrate Azure AD authentication with UiPath Orchestrator

At first this seemed like a simple configuration change, unfortunately it took me some time to figure it out and I had to ask help from my developer colleges.

Most of this is documented in UiPath documentation but I ran into some difficulties.

On the Authentication page of your application registration in Azure you must tick ID tokens checkbox.

After that wee need to configure and add some additional fields in web.config file (located in Configuration pane) of UiPath application in Azure

These settings define that we want to integrate Azure AD with UIPath authentication process and also define that we will map upn (http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn) of Azure AD user to username (ByUserName) of local UiPath user created in the application.

So now, when we create new user in UiPath and set his username to be his upn, it should successfully authenticate and login to UiPath.

Unfortunately, this does not work as intended. It seems that UiPath is looking at email field of user instead in his username. So be sure to add email to UiPath user that is same as upn of his Azure AD account.

You May Also Like

About the Author: Marin

Started as trainer and administrator in Algebra, then through some years became head of operating systems department at Algebra private college. At that time, he became IT Pro group lead and 5-year Microsoft MVP. After four years in Microsoft covering roles of Infrastructure and Azure TSP, Marin moved to Span to take the role of Senior Solutions Architect for cloud solutions. Personal time is occupied by enjoying short trips with his family and close friends, tinkering with home automation and networking and spending money on too many gadgets.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.