Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/26/2024 10:33 PM - edited 09/26/2024 10:34 PM
Hi Friends,
I need to build a new technical rule for remote mail box enable for a user from win connector
from connection we are calling the PS Script.
To trigger this action, I need a technical rule for create remote mail box is
user status is "active" and user should have a mail address and user should have an active ad account.
we need to pass all three requirements, can you please help me for build a advance query or we can select from condition in Technical rule.
Thanks,
Sai Kumar M.
Solved! Go to Solution.
09/26/2024 10:40 PM - edited 09/26/2024 10:41 PM
@Saikumar2328 try this.
a.statuskey=1 AND a.email is not null AND a.id in (select ua.userkey from User_accounts ua, Accounts cc where ua.accountkey=cc.id and cc.endpointkey=<endpointkey to enter> and cc.status in (1,'Manually Provisioned')
Btw for win connector you have deployed the agent right on iis server?
09/26/2024 10:55 PM
yes @NM we have deployed agent in IIS server.
09/27/2024 03:02 AM
a.statuskey=1 AND a.email is not null AND a.id in ( select ua.userkey from User_accounts ua, Accounts cc where ua.accountkey=cc.id and cc.endpointkey=100 and cc.status in (1,'Manually Provisioned'))
09/27/2024 06:48 AM
@rushikeshvartak @NM - I have updated it and working as expected Thank you for support.
Now i'm doing the delete account Json for mail box.
user status is 0, and user have an email address on the term date user mailbox should be removed.
can you please share the query for this.