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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Embedded Paginated Report Data Source Auth

I am using Power BI Embedded and am trying to embed a paginated report into my web application use a service principal.  I have been able to successfully embed the report, but have a question about the authentication method that the report data source uses to connect to the Azure SQL Database.  The only options I have been able to get to work are:

  • Basic - using a basic SQL server user name and password
  • OAuth2 - only works is 'End users use their own OAuth2 credentials' is unchecked and I enter a AAD username and password that the report uses.

Neither one of these methods suit my use case very well.  Ideally the report would use the service principal that the web site is using to connect to Power BI to connect to the database, but I have not been able to get this to work.  If I change the report data source to use OAuth2 with 'End users use their own OAuth2 credential' checked then when I load the report in my web page I get an error saying 'This report contains invalid or unsupported data sources.'.

 

Is there a way to get the report to use the Service Principal to connect to the database?  Or are there any other data source authentication options that I am missing?

 

Thank You

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I ended up opening a support ticket with Microsoft, and wanted to post back here what I ended up finding out.

 

When embedding a paginated report using the 'app owns data' model your only options for authentication are a SQL Server username and password or a AAD username and password.  It is not possible to use the service principal to authenticate with the database.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I ended up opening a support ticket with Microsoft, and wanted to post back here what I ended up finding out.

 

When embedding a paginated report using the 'app owns data' model your only options for authentication are a SQL Server username and password or a AAD username and password.  It is not possible to use the service principal to authenticate with the database.

It's been a long while, do you or anyone else know if Microsoft was unblocked service prinical authenication?

 

v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

Sorry, I can't repro your scenario on my side, please kindly raise it to the support team for better advice, thanks a lot!

https://powerbi.microsoft.com/en-us/support/ 

Support Ticket.gif

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Top Solution Authors