Forum Discussion
Why does my Custom Connector not refresh?
- 6 years ago
I have not done a lot of work with custom connectors but this page https://docs.microsoft.com/en-us/power-bi/service-gateway-custom-connectors#considerations-and-limitations has the following note in the section on Considerations and Limitations :
- 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.
Have you created a TestConnection method in your connector?
I have not done a lot of work with custom connectors but this page https://docs.microsoft.com/en-us/power-bi/service-gateway-custom-connectors#considerations-and-limitations has the following note in the section on Considerations and Limitations :
- 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.
Have you created a TestConnection method in your connector?
- Anonymous6 years agoNot applicable
Hi,
Yes I can confirm the TestConnection has been added. It worked on My personal Gateway.
I think I have found the reason in the document you provided. In the last bullet point it says:
- OAuth for custom connectors via gateways is currently supported only for gateway admins but not other data source users.
That's not a good news after all the work I've put in. Thanks for the support