Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone,
I am trying to get MicrosoftPowerBIMgmt from PSGallery and it returns an error. The code i have used is:
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
Install-Module -Name MicrosoftPowerBIMgmt
It returns an error "PowerShell Gallery is not available. Trying later".
I have tried many days and the error is always the same.
Can anyone help me, please?
Thanks,
Solved! Go to Solution.
Hi, @lbendlin
It seems that it depens on the security protocol. I have solved with this code.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
You can find the explanation here...
Thanks, anyway...
Interesting. I didn't have to specify PSGallery. Is your company maybe blocking access?
Have you used -Scope CurrentUser for the module install?
Hi, @lbendlin
It seems that it depens on the security protocol. I have solved with this code.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
You can find the explanation here...
Thanks, anyway...
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
3 | |
2 | |
2 | |
2 |