How to build SAMAccountName using Expression Builder?

Rick Angel 216 Reputation points
2023-03-22T14:13:10.2733333+00:00

We are implementing an Azure AD enterprise app "Workday to AD User Provisioning". It should create, update, and delete user information in on premise AD.

I am having trouble populating the SAMAccountName attribute using the Azure AD Expression Builder. What would be the correct syntax to take the first character of Workday attribute FirstName then append the entire value in LastName? These Workday attributes map to AD attributes givenName and Surname respectively, but Expression Builder is looking for the Workday attributes. Also would like to make SAMAccountName all lower case if possible.

Example: FirstName = John and LastName = Smith should produce SAMAccountName = jsmith.

Thanks for your help.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.