Get-help doesn't work for Exchange Online cmdlets

Copper Contributor

Hello all. I have a problem with get-help any Exchange cmdlet in powershell. This happens both when connecting to Exchange Online using basic authentication (https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powe...) and the Exchange Online Powershell Module (https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powe...).

I've been in touch with MS Support who says that this is by design for the Exchange Online Powershell Module. That sounds very strange to me as get-help is massively useful, especially for a powershell newbie.

System variables path for Powershell is in place:
%SystemRoot%\system32\WindowsPowerShell\v1.0

Same with PSmodulepath:
%ProgramFiles%\WindowsPowerShell\Modules
%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules


I get this error message when using get-help for any Exchange cmdlet. All other cmdlets are fine.

get-help : Exception calling "Invoke" with "0" argument(s): "Cannot find path '' because it does not exist." At line:1 char:1 + get-help Set-MailboxFolderPermission + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-Help], MethodInvocationException + FullyQualifiedErrorId : CmdletInvocationException

 

Anyone experienced anything similar? Suggestions how to fix?

3 Replies

It's most certainly not by design, but it doesn't look like it's getting fixed either. I've reported it maybe an year ago, several times after that, no progress at all. I guess it's time to pester them again :)

@Vasil Michev: Please pester ;)  I've escalated the support incident, but if this error started a year ago I won't hold my breath.

Well they did fix a similar issue in other parts of the service, but it seems like it's taking a loooong time for the fix to get to the Exchange folks. Anyway, they are looking into it now.