Novice - MIM help with IIF Statement on legacy MIM environment

Dean White 1 Reputation point
2021-02-01T11:44:15.49+00:00

Hi, we currently have a process to disable inactive or leaver accounts in an old MIM system and a conditional expression mapped to UAC on the MIM portal sync job
IIF(
Eq(employeeStatus,"Actif"),
IIF(IsPresent(uac),BitAnd(33554397,uac),512),
IIF(IsPresent(uac),BitOr(2,uac),514)
)
So basically if MIM form employee Status is Inactif or Actif it will disable or enable the AD accounts

We updated some steps so that if AD account is inactive it marks a attribute with "Inactive" and was hoping to update the above expression but I cant work out how and also dont really understand the "IsPresent(uac)" bits.

I did try;
IIF(
Eq(Attribute10,"Inactive"),514,
IIF(
Eq(employeeStatus,"Actif"),IIF(IsPresent(uac),BitAnd(33554397,uac),512),IIF(IsPresent(uac),BitOr(2,uac),514))
)
Basically now I still want it to disable or enable the AD account based on the employee status but also to disable the AD account if the attribute is "Inactive"

So what is happening now is it does disable the AD accounts but now if the MIM form employee status is disabled it no longers also disables the AD account where as it did before?

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

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.