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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
disney_batista
Frequent Visitor

PowerBI service client received error HTTP response. HttpStatus: 500. PowerBIErrorCode: Premium_ASWL

I am using Power BI embedded in an external portal. When I use reports in which the semantic model is in import mode, I have no problems accessing the report data. However, when I use a report with the semantic model using an active connection to the Power BI service (Power BI datasets) via Direct Query, I am facing the error below.

If I access this same report through the Power BI service, the data loads normally, but when I access it through the embedded version, the error occurs. Has anyone experienced this problem? Can you help me?

Captura de tela 2024-11-08 185826.png

Captura de tela 2024-11-08 185845.png

  

Erro Subjacente: PowerBI service client received error HTTP response. HttpStatus: 500. PowerBIErrorCode: Premium_ASWL_Error
Erro de Back-end do Power BI Premium: Single sign-on (SSO) credential is not provided which is required to execute the current request.
ID de correlação: fadc8255-71cf-3855-885c-740f94c65414
ID da atividade: 36df41d5-2d0e-4ea4-9282-22b33cc77fe6
Solicitar ID: 93e5682c-b2e2-4064-85df-32016381afad
Hora: Thu Nov 21 2024 19:35:52 GMT-0300 (Horário Padrão de Brasília)
Versão do serviço: 13.0.24714.33
Versão do Cliente: 2411.2.21741-train
Cluster URI: https://WABI-BRAZIL-SOUTH-B-PRIMARY-redirect.analysis.windows.net
ID da atividade: 36df41d5-2d0e-4ea4-9282-22b33cc77fe6
Solicitar ID: 93e5682c-b2e2-4064-85df-32016381afad
Hora: Thu Nov 21 2024 19:35:52 GMT-0300 (Horário Padrão de Brasília)
Versão do serviço: 13.0.24714.33
Versão do Cliente: 2411.2.21741-train
Cluster URI: https://WABI-BRAZIL-SOUTH-B-PRIMARY-redirect.analysis.windows.net


1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @disney_batista ,

 

According to your statement, I think your error should be cause by embed token.

Please check below Example of generating an embed token for a Power BI report with a dataset which is connected with DirectQuery to another Power BI dataset. All related dataset IDs must be specified in the request with 'xmlaPermissions' set to 'ReadOnly'. IdentityBlobs for all SSO-enabled data sources must be provided in the 'datasourceIdentities' array .

For reference: Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

Best Regards,
Rico Zhou

 

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

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @disney_batista ,

 

According to your statement, I think your error should be cause by embed token.

Please check below Example of generating an embed token for a Power BI report with a dataset which is connected with DirectQuery to another Power BI dataset. All related dataset IDs must be specified in the request with 'xmlaPermissions' set to 'ReadOnly'. IdentityBlobs for all SSO-enabled data sources must be provided in the 'datasourceIdentities' array .

For reference: Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

Best Regards,
Rico Zhou

 

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

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors