We have OIM 11gR1 on Linux and the conectorsMSFT_AD_Base_184.108.40.206.0 and MSFT_Exchange_220.127.116.11.0.
The shell used to create Mailbox is the 2007 one (CreateMailboxExchange2007.vbs).
In that script there are 3 arguments being received
Set args = WScript.Arguments
' Argument 0 contains the Log On Name
' Argument 1 contains the Mail Store Database Name
' Argument 3 contains the Report Log Path
I couldn't find where those arguments are configured at OIM objects. I found the first and second in Exchange Form and the third in Exchange IT Resource. I guess that the process task CreateMailbox from the conector's Process Definition probably calls the Remote Manager that calls some java code to call this script, right?
The problem is that my client needs the command below for provisioning:
Enable-mailbox -identity UserAccount@br.client -Database "serverxxx\SG_OIM\MDB_OIM_PR" -Alias User -displayname "Test User - Company" -primarysmtpaddress email@example.com
I'd like to know if it is possible and how to add more arguments to pass to the VBScript to use on "Enable-Mailbox" command.
Could you please let me know?