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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
sato89
Helper I
Helper I

Power BI Server and REST API calls

Hi everyone,

I installed an instance of Power BI Server with some reports on a computer and I can view the reports in embed version inside a web-app by adding the parameter "?rs:Embed=true" to the report URL. I have also implemented the security integration with an ASP.NET web page that allow me to bypass the Power BI login and it uses customized credentials.

Now, can I also use REST API to get reports or dashboard from my Power BI Server? Note that my reports are on my Server and not on app.powerbi.com.

 

Can you helps me?

 

Thanks.

Best regard.

 

Salvatore

10 REPLIES 10
Anonymous
Not applicable

Hello Sato89,

 

I'm also working on the authentication side for my project. Would like to know how you managed to bypass the login. Could you please help, really aprecciated it.

sato89
Helper I
Helper I

Can anyone help me abut this request? 😉

 

Let me know if you still have the issue open. If yes, I can help you go past where you are stuck.

 

Anonymous
Not applicable

Hi sato,

 

Have you managed to solved the problem?

 

Many thanks

Michal

Anonymous
Not applicable

Hello @sato89

 

You said that you implemented the securitiy integration to allow bypass the login and I´m trying to find a solution like that. Could you help me?

 

In my envirorment I have intalled the Power BI Report Server and I'm trying to embed the application in sharepoint and share it with external user authentication. Do you know if it´s possible to do it with the securitity integration that you mentioned

 

Did your configuration works?

Thanks

Hi. Yes, my solution works very fine and I think that is good and works fine also for sharepoint reports encapsulation. You can try it! Did you have any problems?

Hi Sato89

 

I also face the same problem with the authentication, can you please share some info on this with me, really appreciated it

shiboli
Microsoft Employee
Microsoft Employee

Hi,

 

Here's a list of supported REST Api for PBIRS: https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0

 

Hope that helps!

Thank you shiboli for the answer.

For example I try to send this request:

<PBIWebServiceAddress>/api/v2.0/Session with appropriate headers and body.

I received 401 Unauthorized using Postman, but I have set the correct credentials according to the service account configured in the Report Server Configuration Manager.

 

What am I doing wrong?

 

Thank you in advance!

Hil, I have the same problem.

 

I am using Insomnia for test, but the result is 401 Unauthorized

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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