本文介绍了使用Power Shell登录到Power BI会引发错误"System.Net.WebException:无法解析远程名称:"localhost.fiddler"".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用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.Profileversion of power bi profilelibnetstandardWindowsAuthenticator 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"".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 15:49