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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Gianluca88
Resolver I
Resolver I

Issues on calling on-prem POST API

Hi all, 

 

I'm quite new in using Power Bi Desktop and my goal is to call internal on prem REST POST API from Power Bi Desktop.  If I use the classical possibility from WEB, I retrieve the error in the message. My workaround is to call it by using a curl command in the same machine on a bat file that is called by Power Bi Desktop by means of an R-script. In your opinion, is there a less messy method to achieve the goal?

 

Many thanks,

G. 

Gianluca88_2-1658845542540.png

 

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @Gianluca88 ,

 

Please check these documents for help.

PowerBI.com access to on-prem REST API via Post? 

HTTP Error “405 Method Not Allowed”: How to solve the problem 

 

Perhaps you could try using the generic interfaces (ODBC, etc.) to connect to the on-prem API.

Connect to data by using Power BI Desktop generic interfaces 

 

 

Best Regards,
Winniz

View solution in original post

1 REPLY 1
v-kkf-msft
Community Support
Community Support

Hi @Gianluca88 ,

 

Please check these documents for help.

PowerBI.com access to on-prem REST API via Post? 

HTTP Error “405 Method Not Allowed”: How to solve the problem 

 

Perhaps you could try using the generic interfaces (ODBC, etc.) to connect to the on-prem API.

Connect to data by using Power BI Desktop generic interfaces 

 

 

Best Regards,
Winniz

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.