Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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)
Solved! Go to Solution.
@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.
Regards,
Lydia
@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.
Regards,
Lydia
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 |