cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
oanam
Helper I
Helper I

Unable to connect to Google Analytics

Hi,

 

I get this error script when trying to connect to Google analytics in PowerBi ->Get data.

oanam_0-1618218007830.png

 

 

oanam_1-1618218007832.png

 

 

I uninstalled, reinstalled PowerBI, cleared cache, placed as default browser Microsoft Edge and Google respectively, signed out of my account in PowerBi, restarted my laptop, but nothing improved. Please help?

 

Thank you,

Oana

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @oanam,

If you success login to the data source, these credentials will store on the local device, I think power bi will use the stored credentials for refresh operations. If you do not change the data source, they may not be required to invoke the sign-in panel again.

>>When I connect to my hotspot mobile data I can sign in, no problem, but when I use the wifi to sign in, the script errors posted by me above appear. 

It sounds like the issue related to your network device. You can also ask your IT to check the network device configures if they enabled any policies or their configurations block the requests.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @oanam,

I test on my side but can't reproduce your issue.

I think these should more relate to your network and software environment. What version of the power bi desktop are you test? Have you checked the device policy and whitelist to confirm if they block the requests? 

Add Power BI URLs to allow list - Power BI | Microsoft Docs

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Thank you! It is definitely something related to network security and wifi. When I connect to my hotspot mobile data I can sign in, no problem, but when I use the wifi to sign in, the script errors posted by me above appear. I did look into all security settings, I lowered them, added 2step authenticator on GA so that it marks this wifi and IP as secure, but no change.

 

Is there a way to force in the sign in somehow when the Google Analytics sign-in shows up from PowerBi?

 

I use this version of PowerBi which I think it is the most recent one Version: 2.91.884.0 64-bit (March 2021)

v-shex-msft
Community Support
Community Support

Hi @oanam,

If you success login to the data source, these credentials will store on the local device, I think power bi will use the stored credentials for refresh operations. If you do not change the data source, they may not be required to invoke the sign-in panel again.

>>When I connect to my hotspot mobile data I can sign in, no problem, but when I use the wifi to sign in, the script errors posted by me above appear. 

It sounds like the issue related to your network device. You can also ask your IT to check the network device configures if they enabled any policies or their configurations block the requests.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors