Expressions Azure AD - Workday to Local AD

StephanG 826 Reputation points
2020-10-22T05:08:38.273+00:00

Hi everyone,

the telephone number in Workday is not written down in one field but 3. So we decided to use the join function to combine all fields.
Also the + sign is not delivered by using the "WorkphoneLandlineCountryCodeNumber"

So we tried this join command
Join("+", [WorkphoneLandlineCountryCodeNumber], [WorkphoneLandlineExtension], " ", [WorkphoneLandlineNumber])

How can the outcome of it be like this?
49+ +1234561234

There might me an error with the field extension but how can the + not be the leading sign?

Also the "test one user" is not working properly.

Information:
https://learn.microsoft.com/en-us/azure/active-directory/app-provisioning/functions-for-customizing-application-data

Best regards
Stephan

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,692 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Chetan Desai 981 Reputation points Microsoft Employee
    2020-11-20T15:55:18.297+00:00

    Hi @StephanG - your Join expression is using "+" as the separator and that's why the output has "+" signs in between.
    Try this expression instead:
    Join("", "+", [WorkphoneLandlineCountryCodeNumber], " ", [WorkphoneLandlineNumber], "x", [WorkphoneLandlineExtension])

    0 comments No comments

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.