How to build SAMAccountName using Expression Builder?

Rick Angel 111 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 Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,381 questions
{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.