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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Kellef
Helper I
Helper I

Embedded reporting, problem with SSO missing credentials when exporting data "summarized data" xlsx

Hello,

We are embedding reports in a embed for you customers scenario using service principal for authentication.

 

We have reports that uses a direct query connection to a master dataset. We are able to generate embedd tokens for these reports and they work as expected. The problem is when we try to export a matrix tabel visual with the option "Summarized data" in .xlsx format we get the following error: "Single sign-on (SSO) credentials is not provided which is required to execute the current request.".

 

Exporting a matrix table visual with the option "Current layout" does work.

 

In report that uses a single semantic model in import mode all export options work as expected.p

This problem only occurs on reports that rely on direct query connections to other datasets.

 

As we understand it you need to add some sort of datasource credentials when generating the token. However it is unclear exactly what permissions are needed and how we generate these permissions.

 

According to this https://learn.microsoft.com/en-us/power-bi/developer/embedded/rls-sso?tabs=portal%2Creport-with-sso-... we need to pass datasourceIdentities when generating the embed token. 

 

In our current configuration our reports have a semantic model that uses a direct query connection to a master dataset that in turn uses a connection to an sql database. What do we need to pass into datasourceIdentities to make this work?

 

Thank you,

best regards Patrik

2 REPLIES 2
Kellef
Helper I
Helper I

Hello,
no its a clean datamodel, only with imported views from a sql server. 

Anonymous
Not applicable

Hi  @Kellef ,

 

Did you use the direct query connection mode in Power BI to connect to a data source with calculated columns or calculated tables.

According to the official documentation:

vyangliumsft_0-1713253988164.png

 

Refer to:

Use composite models in Power BI Desktop - Power BI | Microsoft Learn

Ensure that the embedded token is properly configured with the necessary data source credentials, you can try generating the embedded token with a parameter that has the required credentials of the SQL database

Use row-level security with token based identities in Power BI embedded analytics - Power BI | Micro...

Power BI embedded analytics overview - Power BI | Microsoft Learn

This is the related document, you can view this content:

Solved: Re: Composite Models using Power BI datasets, Calc... - Microsoft Fabric Community

Single sign-on (SSO) credential is not provided wh... - Microsoft Fabric Community

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.