Environment:
G&L 7.1.1.P1
Process:
Joiner/Leaver rule calls a Powershell Script to enable or disable the mailbox.
Until last week, the setup was:
G&L > Utilizing PowerShellServer connected to Windows 2012 R2 server > Exchange 2010 On-Prem
What Changed - Part 1
Exchange was upgraded to 2016 on a Windows 2016 (?) DataCanter
First error: When G&L calls the Exchange power shell script, the error was Invalid Credentials.
Of course we verified the credentials and all commands - only failed when G&L made the initial call.
What Changed - Part 2
Upgraded the powershell server to Windows 2019 utilizing integrated OpenSSH
Tested by Putty from my workstation > called the powershell script and was able to verify get-mailbox was available.
However, when G&L calls the same script, with the same credentials , there is no error, but the modules do not load either.
Bottom line: Exchange 2016 does not like when G&L calls the powershell script.
Has anybody heard of this issue, or even better, a solution?
Thank you
Shlomo
Thank you for your response and additional thoughts.
1. The interactive sessions only showed the "status bar" loading modules.
2. We did not have this issue with Exchange 2010 - so this issue is mostly likely a MS issue.
3. I will keep -ErrorAction SilentlyContinue". in mind for future issue.