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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
CPC-Keith
Frequent Visitor

OData / SSL Gateway error

Hi

Apologies if this ends up being a double post, i had posted this issue but now can not find the post any where,

Resonably new user to PowerBi but have been able to work around most things so far until hitting this,

We have a system on site that uses REST and i have created an SSL for the server which works fine scross site on any systems the certs are installed to, PowerBi Desktop is happy using this cert for an OData link to the REST api,

The certs are on the server that is running our gateway but i can not set up a datasource to it on the gateway in the PowerBi Service, i get the following error

 

Underlying error code:-2147467259
Underlying error message:OData: Request failed: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

 

Should this work with a self create cert if it is working onsite and is on the gateway server?

anyone have any suggestions on what i need ot look at or do?

Thank You

1 ACCEPTED SOLUTION
CPC-Keith
Frequent Visitor

Thank you for the links, some helpfull reading there,

I have now fixed the problem, i was trying to work it the same as a data source on a file share - setting the top level and mapping to it, the connection was not working to the top level of the REST api which does work in a browser,

Setting a datasource for each api routine we are using works fine and has moved me on.

View solution in original post

3 REPLIES 3
CPC-Keith
Frequent Visitor

Thank you for the links, some helpfull reading there,

I have now fixed the problem, i was trying to work it the same as a data source on a file share - setting the top level and mapping to it, the connection was not working to the top level of the REST api which does work in a browser,

Setting a datasource for each api routine we are using works fine and has moved me on.

Hi, @CPC-Keith 

 

I am very glad that your problem has been solved and thank you for sharing. Could you please mark your post as Answered since it is working now? It will help the others in the community find the solution easily if they face the same problem with you. Thank you.

v-angzheng-msft
Community Support
Community Support

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.