Forum Discussion
Failed to connect powerbi service with powershell
- Anonymous4 years ago
Hi Anonymous ,
First, verify that the PowerShell module below is installed and that the supported environments and PowerShell versions are met. Please find all details in this official documentation.
PowerShell modules
Supported environments and PowerShell versions
I found the following posts with similar problems to yours, please check them for solutions. Hopefully they will help you solve your problem.
Connect-PowerBIServiceAccount: Failed to populate environments in settings
Install the cmdlets again
Unable to Connect with Power BI Service using PowerShell
Update the version of Net Framework
Suddenly unable to connect to the Power BI Service using Connect-PowerBIServiceAccount #248
Invoke-RestMethod - TLS 1.0 to TLS 1.2
Best Regards
Hi Anonymous ,
First, verify that the PowerShell module below is installed and that the supported environments and PowerShell versions are met. Please find all details in this official documentation.
PowerShell modules
Supported environments and PowerShell versions
I found the following posts with similar problems to yours, please check them for solutions. Hopefully they will help you solve your problem.
Connect-PowerBIServiceAccount: Failed to populate environments in settings
Install the cmdlets again
Unable to Connect with Power BI Service using PowerShell
Update the version of Net Framework
Suddenly unable to connect to the Power BI Service using Connect-PowerBIServiceAccount #248
Invoke-RestMethod - TLS 1.0 to TLS 1.2
Best Regards