Forum Discussion

disney_batista's avatar
disney_batista
Frequent Visitor
1 year ago
Solved

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?

  

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


  • Anonymous's avatar
    Anonymous
    1 year ago

    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.

     

     

1 Reply

  • Anonymous's avatar
    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.