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
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
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.

Top Solution Authors
Top Kudoed Authors