Forum Discussion
Unable to Connect with Power BI Service using PowerShell
- 8 years ago
Hello
I was unable to connect with the Power BI Service with .Net Framework 4.7.02053 installed on my PC. However, when .Net Framework 4.7.2 was installed from here, I found that I was then able to connect to the Power BI Service using Powershell and run the other PowerShell Management Cmdlets which call the Rest API.
Hi All,
It seems you need to change the ExecutionPolicy of PowerShell. Please refer to
unable-to-use-appv-5-powershell-cmdlets
azure-powershell-will-not-connect
module/microsoft.powershell.security/set-executionpolicy?view=powershell-6
Please also check out if the environment is supported.
Best Regards,
Dale
- Dhruvin8 years ago
Helper III
Still not working
- JaneLHunt8 years ago
Advocate II
Hello
I was unable to connect with the Power BI Service with .Net Framework 4.7.02053 installed on my PC. However, when .Net Framework 4.7.2 was installed from here, I found that I was then able to connect to the Power BI Service using Powershell and run the other PowerShell Management Cmdlets which call the Rest API.
- anosul8 years ago
Advocate I
I had the same error.
I cheked my PC environments based on this - Supported Environments and PowerShell Versions:
Windows PowerShell v3.0 and up with .NET 4.6.1 or above are required.
Then, I updated PowerShell and .NET to latest versions and restart my PC.
And in my case, issue has been resolved.