Powershell on Mac/Linux - New-PSSession to Exchange Server -> MI_RESULT_FAILED Error

ITS ByteSec 0 Reputation points
2024-07-03T08:53:54.16+00:00

How can the following error be resolved when trying to connect to an Exchange server via PowerShell from a Mac/Linux machine? (working fine from windows machine though)

"New-PSSession: [<exchangeserver.domain>] Connecting to remote server <exchangeserve.domain> failed with the following error message: MI_RESULT_FAILED. For more information, see the about_Remote_Troubleshooting Help topic."

Additionally, I am unable to locate the troubleshooting document or any information on the MI_RESULT_FAILED error.

Could you provide guidance on this issue?

Exchange | Exchange Server | Other
Exchange | Exchange Server | Management
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2024-07-05T15:37:17.6666667+00:00

    There were multiple reports of problems using WSMAN on non-Microsoft machines years ago, and support for WSMAN on those machines was dropped (refer to the last post in this thread): https://github.com/PowerShell/PowerShell/issues/5130

    There's a replacement for the WSMAN here: https://www.powershellgallery.com/packages/PSWSMan/2.3.1

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.