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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RobHess05
Helper I
Helper I

Can't assign a gateway to my datasource

I can't seem to select a gateway for my dataset.

I only have one gateway configured, and the radio button in not available.

I can click on Manually add to gateway

RobHess05_0-1630007793857.png

this allows me to add a new data source, and successfully test.

 

RobHess05_1-1630007814941.png

 

but the I still can't connect to the gateway.

RobHess05_2-1630007848344.png

 

What am I missing?  Thanks for reading.

 

10 REPLIES 10
lbendlin
Super User
Super User

I'm not aware of any tenant level settings that could influence this but I'll have another look.  Would you consider trying  a separate, simpler custom connector for testing?

 

Also note:

Considerations and limitations

  • Make sure the folder you create is accessible to the background gateway service. Typically, folders under your user’s Windows folder or system folders won’t be accessible. The on-premises data gateway app shows a message if the folder isn't accessible. This instruction doesn't apply for the on-premises data gateway (personal mode).
  • For custom connectors to work with the on-premises data gateway, they need to implement a “TestConnection” section in the custom connector’s code. This section isn't required when you use custom connectors with Power BI Desktop. For this reason, you can have a connector that works with Power BI Desktop, but not with the gateway. For more information on how to implement a TestConnection section, see this documentation.
  • If your custom connector is on a network drive, include the fully qualified path on the on-premises data gateway app.
  • You can only use one custom connector data source when working in DirectQuery mode; multiple custom connector data sources will not work when using DirectQuery.

Thank you for the documentation.  I did follow these instructions, including creating a Test Connection in my connector code.  I was able to successfully connect the service to my personal gateway, but it isn't connecting with the standard gateway.  This tells me that my connector is fine, but there's something different about the standard gateway.

RobHess05
Helper I
Helper I

Thank you for the feedback.  I uninstalled \ reinstalled the connector, and used the default service account and gateway.

RobHess05_0-1630417672906.png

 

RobHess05_1-1630417683112.png

 

I recreated the gateway and datasource for good luck

RobHess05_2-1630418049792.png

 

but the dataset is still throwing the same error

RobHess05_3-1630418122523.png



One more question - did you allow custom connector refresh through the gateway?

 

lbendlin_0-1630421054901.png

Use custom data connectors with the on-premises data gateway - Power BI | Microsoft Docs

I did.  That's what exposed my custom Data Source Type

RobHess05_0-1630421379905.png

RobHess05_1-1630421517035.png

 

 

lbendlin
Super User
Super User

that looks like a custom connector created by your company. You'd want to discuss this with the creators of the connector and with the gateway cluster admins.

Yes, it's a custom connector.  I'm the developer and the gateway admin.  I have no problems authenticating and syncing data from the Power BI desktop with my custom connector.  I also had this successfully refreshing in the personal gateway, but recently moved to the standard gateway.

Did you install the custom connector on all gateway cluster members in the designated folder?  Did you confirm that the custom connector is successfully loaded in each cluster member?  Something like this:

 

lbendlin_0-1630332093510.png

 

 

Yes, the custom connector is attached to the gateway.   There's only one gateway in play.

RobHess05_0-1630349765837.png

 

 

I don't think that's a good location for the connector code.  Are you running the gateway service on something other than the default account?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors