Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Winnconnector for mailbox provisioning (Hybrid Exchange)

samarth
New Contributor II
New Contributor II

Hello - 

I followed the documentation below to setup the WINCONNECTOR in Saviynt, SavAgent on the Windows server. 

https://docs.saviyntcloud.com/bundle/MSExchange-v23x/page/Content/Introduction.htm 

I am seeing 404 when I do test connection on the URL --> https://hostname/SaviyntApp/PS/ExecutePSScript

Question:

  1. The SaviyntApp folder don't have PS and ExecutePSScript subfolders. However, the documentation suggests using this URL. Why am I getting 404?
  2. I am using the CreateAccountJSON to enable the mailbox. Script below. Do I  need to upload the PS script on the Windows Server as well?
  3. When to use Winnconnector and when to use REST connector for Mailbox provisioning? I see a lot of forum posts where people are using REST connector for mailbox provisioning.  

{

"CREATEACC":["Script=\$pw = convertto-securestring '${PSSCRIPT_PASSWORD}' -asplaintext -force;\$mycred = new-object -typename System.Management.Automation.PSCredential -argumentlist 'Abc\\\\AA-Saviynt',\$pass; invoke-command -ConfigurationName Microsoft.Exchange -ConnectionUri http://exchange_hostname/Powershell -Credential \$cred -Authentication kerberos -scriptblock {Enable-RemoteMailbox -Identity \'${user.email}' -RemoteRoutingAddress \'${user.email}' -PrimarySMTPAddress \'${user.email}'}"]
}

2 REPLIES 2

SB
Saviynt Employee
Saviynt Employee

Let me check on this and will update.


Regards,
Sahil

samarth
New Contributor II
New Contributor II

Hi Sahil, 

Identified the issue. The Saviynt package in the documentation for Saviynt Agent has an extra sub-folder called "WINPS". This sub-folder is not required. 

Currently, if we download the Saviynt Agent file from Saviynt Documentation, it has the structure as follows:

SaviyntApp--> WINPS --> All the other files. 

Instead of this, it should be as follows  - 

SaviyntApp --> Other files

 

Hope this helps others facing the same issue