MIM- IIF function expression

shashidhar joliholi 266 Reputation points
2021-02-02T06:45:22.413+00:00

Hi All,

IIF(Eq(GeoID,"AE"),"+971",IIF(Eq(GeoID,"AU"),"+61",IIF(Eq(GeoID,"CA"),"+1",IIF(Eq(GeoID,"CN"),"+86",IIF(Eq(GeoID,"DE"),"+49",IIF(Eq(GeoID,"DK"),"+45",IIF(Eq(GeoID,"FI"),"+358",IIF(Eq(GeoID,"FR"),"+33",IIF(Eq(GeoID,"GB"),"+44",IIF(Eq(GeoID,"GR"),"+49",IIF(Eq(GeoID,"IE"),"+353",IIF(Eq(GeoID,"ML"),"+223",IIF(Eq(GeoID,"NL"),"+31",IIF(Eq(GeoID,"NO"),"+47",IIF(Eq(GeoID,"PL"),"+48",IIF(Eq(GeoID,"SE"),"+46",IIF(Eq(GeoID,"SG"),"+65",IIF(Eq(GeoID,"SW"),"+46",IIF(Eq(GeoID,"UK"),"+44",IIF(Eq(GeoID,"US"),"+1","+91"))))))))))))))))))))

tried to add in the synchronization rule but getting the following error

" is not a valid attribute.

Need your help!

Thanks,
Shashidhar Joliholi

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
707 questions
0 comments No comments
{count} votes

Accepted answer
  1. Cheong00 3,476 Reputation points
    2021-02-02T08:19:20.187+00:00

    Seems there is some quirks in the parser that, if you need to use "+" in your string literals, you have to name the parameters for IIF() .

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.