Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/16/2024 10:05 PM
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?
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;
07/16/2024 10:28 PM
{[$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;]}
07/17/2024 02:13 AM
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"
07/17/2024 09:21 PM
Does other operations working other than recon