I wanted to play with the OMS cmdlets which are part of the AzureRM modules. The OMS / OperationsInsights module itself is called AzureRM.OperationsalInsights. A good place to start with OMS native PowerShell cmdlets is a blog post on the Building Clouds blog. So what is the exact issue? Well, I tried to query my workspace for installed solutions. First I logged in using the Login-AzureRmAccount cmdlet which succeeded quite nicely..
…after I authenticated I ran a cmdlet to get the solutions from OMS…
..no matter which cmdlet I tried, I always received the error above.
After some time, I tried to update the modules, running Update-Module which ended in this error…
Next step, I tried to install the entire ARM modules by running Install-Module AzureRM –AllowClobber, which ended in a similar error…