问题描述
当我尝试使用Microsoft Power Shell ISE 登录到 Power BI 时:
Login-PowerBI
从软件包中下载:
When I'm trying to login to Power BI with Microsoft Power Shell ISE:
Login-PowerBI
from the Package: MicrosoftPowerBIMgmt,I'm getting the following error:
I had a similar problem with Visual Studio NuGet service.
When PowerShell tries to log in to Power BI account (when executing command Login-PowerBI
), it executes AzureADWindowsAuthenticator.exe
, which looks for the configuration under:
MicrosoftPowerBIMgmt.Profile
→ version of power bi profile
→ lib
→ netstandard
→ WindowsAuthenticator
directory.
To solve the problem edit the configuration file as Administrator and add the following under <configuration>
section:
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy usesystemdefault="true" bypassonlocal="true" />
</defaultProxy>
<settings>
<ipv6 enabled="true"/>
</settings>
</system.net>
The final result should be like this:
这篇关于使用Power Shell登录到Power BI会引发错误"System.Net.WebException:无法解析远程名称:"localhost.fiddler"".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!