Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Songbird
Regular Visitor

Unable to connect to Google Analytics

For the last few weeks, I have been unable to connect to Google Analytics.  I thought it might be something wrong with my query as the error message is below, but it seems to be broken on all the queries I have to it.  I tried starting a new source to GA and it is actually giving the same error in the Navigator window.  No other information is shown there.   I am on the Nov 2018 version of Power BI. 

 

Unexpected error: Collection was modified; enumeration operation may not execute.
Details:
Microsoft.Mashup.Evaluator.Interface.ErrorException: Collection was modified; enumeration operation may not execute. ---> Microsoft.Mashup.Evaluator.Interface.ErrorException: Collection was modified; enumeration operation may not execute. ---> Microsoft.Mashup.Evaluator.Interface.ErrorException: Collection was modified; enumeration operation may not execute. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at Microsoft.Mashup.EngineHost.Services.OAuth.OAuthPooledCredentialHandler.Refresh(IResource resource, CredentialDataCollection previousCollection, CredentialDataCollection storageCollection, String referenceId, Boolean forceRefresh)
at Microsoft.Mashup.EngineHost.Services.PooledCredentialService.Refresh(Credential previousCredential, String referenceId, Boolean forceRefresh)

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Songbird,

This is a known issue in Power BI November release, please update your Power BI Desktop to December release and check if the issue still occurs.

If the above error still persits, you can clear stored Google analytics credential in power BI Desktop , then you are able to use this connector.
Capture.PNG


Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Songbird,

This is a known issue in Power BI November release, please update your Power BI Desktop to December release and check if the issue still occurs.

If the above error still persits, you can clear stored Google analytics credential in power BI Desktop , then you are able to use this connector.
Capture.PNG


Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors