Modifying Azure endpoint Task Fails with Error , the task remain in progress, do not finish.
Error Message : Modifying Azure Endpoint , LDAP Connection has been closed
CA Identity Manager 14.4.2
Customer was using Powershell 5 and does not 7 version
1. Download PsTools from Download MS Pstools , it is a complete Folder which will be downloaded.
2. From PsTools folder, run the command below:
3. Psexec.exe -s -i pwsh.exe
4. From the PS window run the PowerShell command "Connect-ExchangeOnline" and check its working. Should show Powershell 7 is being used.
Post Procedure Tasks :
1. get-rolegroup | format-list . It must shows the role groups.
2. From Task manager in Windows , to confirm pwsh.exe is running fine.
3. From the jcs_daily.log we see all the “executing” Powershell commands , this means is working fine.
ie: "Executing Powershell command(PID=null) and (ExchMFA):cls"