SOLVED

Unable to update Powershell Help

Silver Contributor

When I run update-help, I get the following error. Does anyone else? Is this a known issue?

Failed to update Help for the module(s) 'AzureInformationProtection' The value of the HelpInfoUri key in the module manifest must resolve to a container or root URL on a website where the help files are stored. The HelpInfoUri 'https://docs.microsoft.com/en-us/powershell/module/RMSProtection/?view=azureipps&viewFallbackFrom=az...
ureipps%3Fview%3Dazureipps?view=azureipps?view=azureipps?view=azureipps?view=azureipps' does not resolve to a container

5 Replies
best response confirmed by VI_Migration (Silver Contributor)
Solution

I guess so? On 1.7.210.0, the HelpInfoUri is listed as: https://msdn.microsoft.com/library/mt433195.aspx

 

Which then redirects to the docs.com URL, and breaks. It also seems to be missing the helpinfo.xml. Not sure if it even supports updateable help. Did you ask on the Yammer network?

Thanks, Yes, I asked there also and  Carol told me that it does not support updateable help (:.

I have the exact same problem. Is microsoft going to provide  a fix?

I don't think so, apparently that is intentional, but I don't understand why.

Our PowerShell modules don't support updatable help, which was really designed for "air-gap" scenarios, such as servers that aren't allowed to access the Internet.  We're a cloud service, so that scenario doesn't apply.  Instead of supporting a single URL to download an updated help file for all the cmdlets, each cmdlet has its own URL to get the latest help online. Because it's online, we can update it much more easily/frequently (and I do!).  Use "Get-Help <cmdlet name> -online".  Any updates made online automatically go into the help file that ships with the next release of the module.

 

The module doesn't handle the update command well - it should fail more "gracefully" than the error you see.  So it's a bug, but a low priority bug, given that it doesn't impact functionality.

1 best response

Accepted Solutions
best response confirmed by VI_Migration (Silver Contributor)
Solution

I guess so? On 1.7.210.0, the HelpInfoUri is listed as: https://msdn.microsoft.com/library/mt433195.aspx

 

Which then redirects to the docs.com URL, and breaks. It also seems to be missing the helpinfo.xml. Not sure if it even supports updateable help. Did you ask on the Yammer network?

View solution in original post