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.

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.