Forum Discussion
BenFord
4 years agoFrequent Visitor
OAuth custom connector
I have created a custom data connector to an OData api. The API uses Oauth2 and the connector is configured to do that as well. It works from the power query SDk in visual studio, works from deskto...
Anonymous
4 years agoNot applicable
Hi BenFord ,
OAuth for custom connectors via gateways is currently supported only for gateway admins but not other data source users.
The method for implementing TestConnection functionality is likely to change while the Power BI Custom Data Connector functionality is in preview.
To support scheduled refresh through the on-premises data gateway, your connector must implement a TestConnection handler.
For more details, please check this document.
https://docs.microsoft.com/en-us/power-query/handlinggatewaysupport
Best Regards,
Jay
BenFord
4 years agoFrequent Visitor
My custom connector has a test connection method and I am able to add it to the gateway and the connection is successful there. It is just when i try to use it in a dataflow that i am getting the above issue.