Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Recon using WINCONNECTOR

RKV
New Contributor III
New Contributor III

Hi Team,

I am trying to setup the recon for exchange endpoint using WINCONNECTOR.

I have populated the following two jsons in the connection. The application data import job is success but the accounts are not imported under endpoint.

Please can you guide here.

1. Am I following the right approach?

2. Is the JSONs are correct?

RKV_0-1721192258964.png

 

JSON

----

$username='srvcaccname@abc.com';
$Credentials = New-Object System.Management.Automation.PSCredential($username,(ConvertTo-SecureString '${PSSCRIPT_PASSWORD}' -AsPlainText -Force));
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://exchange.com/PowerShell/ -Credential $Credentials -Authentication Kerberos -AllowRedirection;
Import-PSSession $Session -DisableNameChecking -AllowClobber;
Set-ADServerSettings -ViewEntireForest true;
Get-Mailbox -Identity user123 -domaincontroller DC001;
Remove-PSSession * -ErrorAction SilentlyContinue;

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

{[$username='srvcaccname@abc.com';
$Credentials = New-Object System.Management.Automation.PSCredential($username,(ConvertTo-SecureString '${PSSCRIPT_PASSWORD}' -AsPlainText -Force));
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://exchange.com/PowerShell/ -Credential $Credentials -Authentication Kerberos -AllowRedirection;
Import-PSSession $Session -DisableNameChecking -AllowClobber;
Set-ADServerSettings -ViewEntireForest true;
Get-Mailbox -Identity user123 -domaincontroller DC001;
Remove-PSSession * -ErrorAction SilentlyContinue;]}


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

RKV
New Contributor III
New Contributor III

Hi Rushikesh,

Thanks for responding. I tried the way you suggested but I am getting

"Error - Failed to Connect or Import Windows Data :Error parsing JSON"

Does other operations working other than recon


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.