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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
abksharma
Helper I
Helper I

Power Automate Power BI Scheduled report can not read data from second Data Model (Semantic Model)

My Power BI report has two data sources from two different workspaces. Part 1 (Section 1) of report renders fine, But when I use second semantic model for report from a different workspace. Power Automate fails to render the report.

  • Power BI Report Part 1: renders fine (workspace 1)
  • Power BI Report Part 2: Error (workspace 2, no rendering)

2ftkpraM.png

 

abksharma_0-1726577397400.png

 

Error does not show up, I don't have access to power bi server logs or Power Automate logs.

originally asked here
https://stackoverflow.com/questions/78976361/power-automate-power-bi-scheduled-report-can-not-read-d...

Thanks 
ABK

1 ACCEPTED SOLUTION
abksharma
Helper I
Helper I

The issue was fixed by using right power automate request. passing correct identity values in request.

Correct power automate Request for multiple dataset with RLS:

 

abksharma_0-1726904177161.png
 

 

 

 

Correct power automate Request for multiple dataset with RLS: 
{
    "host": {
        "connectionReferenceName": "shared_powerbi",
        "operationId": "InitiateExportToFileForPbiReports"
    },
    "parameters": {
        "groupid": "workspace GUID",
        "reportid": "workspace GUID",
        "ExportPayloadPowerBIReport/format": "PDF",
        "ExportPayloadPowerBIReport/PowerBIReportExportConfiguration/identities": [
            {
                "username": "testuser@abk.com",
                "datasets": [
                    "dataset 1 guid",
                    "dataset 2 guid"
                ],
                "roles": [
                    "RLS ROLE 1",
                    "RLS ROLE 1"
                ]
            }
        ]
    }
}

 

 

 

 

View solution in original post

5 REPLIES 5
abksharma
Helper I
Helper I

The issue was fixed by using right power automate request. passing correct identity values in request.

Correct power automate Request for multiple dataset with RLS:

 

abksharma_0-1726904177161.png
 

 

 

 

Correct power automate Request for multiple dataset with RLS: 
{
    "host": {
        "connectionReferenceName": "shared_powerbi",
        "operationId": "InitiateExportToFileForPbiReports"
    },
    "parameters": {
        "groupid": "workspace GUID",
        "reportid": "workspace GUID",
        "ExportPayloadPowerBIReport/format": "PDF",
        "ExportPayloadPowerBIReport/PowerBIReportExportConfiguration/identities": [
            {
                "username": "testuser@abk.com",
                "datasets": [
                    "dataset 1 guid",
                    "dataset 2 guid"
                ],
                "roles": [
                    "RLS ROLE 1",
                    "RLS ROLE 1"
                ]
            }
        ]
    }
}

 

 

 

 

abksharma
Helper I
Helper I

Flow user is me and I have created both workspaces and I am the admin of the workspaces. They are in premium capacity.

That's nice but not what I mean.  Did you install both apps?

 

Does it work with a single (not composite) semantic model?

Sorry if I am missing on something, I have not used any Power BI App feature,

But both have RLS and access enabled. I am running automate flow using my creds which have all access. 

 

abksharma_0-1726577476768.png

 

lbendlin
Super User
Super User

The flow user needs to have registered/installed both Power BI apps.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.