Closed SnehilMittal-gep closed 4 months ago
I have opened a support ticket to address this, have the same issue.
Hi All,
The issue got fixed after removing -AllowClobber.
Updated Command:
Install-Module -Name MicrosoftPowerBIMgmt -Force Import-Module -Name MicrosoftPowerBIMgmt
Note: I ran uninstall command before this for safe side to remove any present modules already for it. Command: Uninstall-Module MicrosoftPowerBIMgmt -Force
@snehil
Hi All,
The issue got fixed after removing -AllowClobber.
Updated Command: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Install-Module -Name MicrosoftPowerBIMgmt -Force Import-Module -Name MicrosoftPowerBIMgmt
Note: I ran uninstall command before this for safe side to remove any present modules already for it. Command: Uninstall-Module MicrosoftPowerBIMgmt -Force
Your command is unrelated to the issue which was an inaccessible package. They have fixed it meanwhile so installation will succeed.
@snehil
Hi All, The issue got fixed after removing -AllowClobber. Updated Command: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Install-Module -Name MicrosoftPowerBIMgmt -Force Import-Module -Name MicrosoftPowerBIMgmt Note: I ran uninstall command before this for safe side to remove any present modules already for it. Command: Uninstall-Module MicrosoftPowerBIMgmt -Force
Your command is unrelated to the issue which was an inaccessible package. They have fixed it meanwhile so installation will succeed.
Hi @ondruska, Thanks for the confirmation. Yes it is working fine with -AllowClobber as well now.
Installation Command:
Install-Module -Name MicrosoftPowerBIMgmt -Force -AllowClobber Import-Module -Name MicrosoftPowerBIMgmt -Force
Error: WARNING: Could not get response from query 'https://www.powershellgallery.com/ap i/v2/FindPackagesById()?id='MicrosoftPowerBIMgmt.Profile'&$skip=0&$top=40'. PackageManagement\Install-Package : Unable to find dependent module(s) (MicrosoftPowerBIMgmt.Profile) At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
CategoryInfo : ObjectNotFound: (MicrosoftPowerBIMgmt.Profile:St ring) [Install-Package], Exception
Note: This was working fine till yesterday - From Today morning it had started failing.