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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Rizza
Frequent Visitor

Gateway error: Data source access error. Please contact the gateway administrator

I get the error "Data source access error. Please contact the gateway administrator" when trying to access an Analysis Services model.

  • Created a simple one table model in VSTS, added admin role with my ID (domain\id) and deployed to SSAS.
  • Created a simple report in Power BI desktop and published to Power BI service.
  • Added a gateway on the same server as SSAS.
  • Changed the service account of server to my ID (domain\id) (also same result using the default service account)
  • Ran newtwork ports test from gateway. Shows Completed (Succeeded)
  • Gateway network tab shows Network status: Connected
  • Manage Gateway from Power BI and added data source using my ID for credential (domain\id). It adds me as a user to the dataset using my upn (name@x.com)
  • Open the report and get error: "Data source access error. Please contact the gateway administrator"
  • Checked the gateway log and see:
    • DM.EnterpriseGateway Information: 0 : 2018-08-17T15:29:01.8322048Z DM.EnterpriseGateway 86e218e9-7e7a-4104-b99b-5c0cc5333e82 2aaed418-5b3d-ea02-e257-7a36be986432 MGCC 20795519-b617-4245-b13e-c32922339a97 FCF0C810 [DM.GatewayCore] Db pool opening raw database connection to [MSOLAP.5: <pi>MSOLAP.5:provider=MSOLAP.5;data source=servername;initial catalog="Gateway test";cube=Model;sspropinitappname=PowerBI;effectiveusername=name@x.com;connect timeout=60:[Windows] Encrypted Credential information omitted</pi>]
      DM.EnterpriseGateway Information: 0 : 2018-08-17T15:29:01.9103418Z DM.EnterpriseGateway 86e218e9-7e7a-4104-b99b-5c0cc5333e82 2aaed418-5b3d-ea02-e257-7a36be986432 MGCC 20795519-b617-4245-b13e-c32922339a97 850B9BB4 [DataMovement.PipeLine.GatewayDataAccess] Replace effective user name in adomd connection string from name@x.com to name@x.com.
  • Reviewed troubleshooting steps from https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem-tshoot
    • Confirmed effective username within the gateway logs: name@x.com
    • From server, ran "whoami /upn" and confirmed name matches: name@x.com (Name here was all lowercase, and name in log had caps for name. Tried mapping name to all lowercase and same result.)
    • Followed steps to check UPN from Azure Active Directory via Graph Explorer. Name matches: name@x.com (caps here too)
  • My id (domain\id) is the service account for SSAS and is an admin on the server. Power BI Desktop report works from the server.
  • Checked in registry for HKEY_CLASSES_ROOT\MSOLAP.5 and it does not exist. I have a key for HKEY_CLASSES_ROOT\MSOLAP and HKEY_CLASSES_ROOT\MSOLAP.8 but not 5.
  • Gateway is Version: 14.16.6792.1 (August 2018)
6 REPLIES 6
monev
New Member

monev_0-1721268215243.png

I have same problem, live connect gateway on-prem SSAS. Already setting EffectiveUserName from admin@x.onmicrosoft.com to admin@x.com. Please help me. Thanks

 

Anonymous
Not applicable

@Rizza,


What account do you use to sign in Power BI Service? Could you please post a screenshot about how you map user name in Power BI Service?

Regards,
Lydia

@Anonymous

I sign into the Power BI service using my email name@x.com which matches "whoami /upn" on the server. I think I have tried every possible mapping to change this to "domain\id", email lowercase, etc. and confirmed that mapping was working in the gateway logs. I have yet to see a different error message regardless of what mapping I use. I am assuming that if my email on Power BI Service matches that of "whoami /upn", I shouldn't need mapping.

 

Shouldn't there be some error logged on SSAS? Any other way to troubleshoot this?

Rizza
Frequent Visitor

Nooooooo! It started working today without me making any changes. Wish I knew the cause, but glad to see the result. I would still appreciate any tips on troubleshooting and whether there was another log I should have checked.

Anonymous
Not applicable

First question I would have is why you are using a Gateway, if you are using Azure Analysis Services you should be able to connect directly to it?

 

Next Question:  Have you created a Role with access to the model from inside your Analysis Services model?  You would need to add the username you are using on the Gateway into that role so it has at least read access to the model.  This is different from the Access credentials your see inside Azure portal.

@Anonymous

This is on premise Analysis Services, not in Azure.

 

I have an Administrator role set up within the data model with my ID (domain\id).

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors