web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Button ...
Power Automate
Unanswered

Power Automate Button Clicked in Power BI - Returns Empty entity{} Blocking Dynamic Dataset Refresh

(0) ShareShare
ReportReport
Posted on by 2
We are encountering an issue where the Power Automate button clicked in Power BI does not provide the expected groupId or datasetId in its output, resulting in an empty body.entity object ({"entity": {}}). This prevents us from creating a dynamic Power Automate flow to refresh a dataset based on the report’s context, this is happening in a Government Community Cloud (GCC) Premium workspace. Despite extensive troubleshooting, the issue persists, and we need assistance to determine if this is a GCC limitation, a bug, or a configuration we’ve missed.
 

Environment:

  • Power BI Tenant: GCC (app.powerbigov.us)

  • Workspace: Premium capacity

  • Dataset: Import mode, connected to a SQL Server data source

  • Power Automate: Linked via Power Automate visual in Power BI Service

  • Date of Issue: Ongoing as of March 18, 2025

  •  

Goal:

To create a reusable Power Automate flow triggered by a button in a Power BI report that dynamically refreshes the report’s dataset using the workspace and dataset IDs passed by the Power BI button clicked trigger.  

Steps Taken:

  1. Initial Setup:

    • Added a Power Automate visual to a report in Power BI Desktop.

    • Created a flow with the Power BI button clicked trigger, initialized variables with triggerOutputs()?['body']['entity']['groupId'] and datasetId, and used these in a Power BI – Refresh a dataset action.

    • Published to the Premium workspace and tested in Power BI Service.

    • Result: Error—“property ‘groupId/datasetId’ doesn’t exist”—prompting further investigation.

    •  

  2. Output Inspection:

    • Added a Compose action with triggerOutputs() to debug the trigger output.

    • Output: Detailed headers (e.g., user info, GCC URLs like usgovtexas.logic.azure.us), but body contains only {"entity": {}}.

    • Confirmed the flow triggers, but no workspace/dataset metadata is passed.

    •  

  3. Visual and Report Validation:

    • Recreated the Power Automate visual, republished the report, and tested in the Service.

    • Added dataset fields (e.g., SQL Server columns) to the visual’s field well to provide context.

    • Tested with a new report using a simple CSV dataset in the same Premium workspace.

    • Result: Output remains {"entity": {}} in all cases.

    •  

  4. Environment Checks:

    • Verified the dataset is import-mode, refreshable manually in the Service, and tied to the report (confirmed via Settings).

    • Ensured contributor access to the workspace and valid SQL Server credentials.

    • Tested in Power BI Service (not Desktop) to rule out simulation issues.

    •  

  5. Flow Variations:

    • Tried triggerOutputs()?['body'] and triggerBody() to capture any hidden context.

    • Created a new flow with hardcoded IDs—refresh worked, proving the Refresh a dataset action functions when IDs are provided manually.

    •  

  6. Hypothesis Testing:

    • Suspected GCC restrictions or Premium configuration issues.

    • No tenant settings found to enable/disable this behavior (admin access pending confirmation)
 
 
Expected: body.entity to include metadata - groupId, datasetId, etc., per Microsoft documentation.
 
Stuck: Unable to dynamically retrieve workspace and dataset IDs, forcing manual ID entry, which defeats the goal of a reusable flow.
 
Any help is greatly appreciated! Thank you!
 
 
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    1. I don't think the workspace ID or semantic model ID were ever part of the meta data
    2. You can examine the "raw output"  of the trigger, no need for a Select
    3.  Allowing report users to request a Semantic Model refresh is a VBI (Very Bad Idea) in many many ways. Do not do that.
  • Suggested answer
    Bryant - SBSA Profile Picture
    2 on at
    Spoke to support at Microsoft and the issue is that these meta data fields are not currently supported in a Gov tenant environment. Eventually they said it would be but not at this time (3/20/2025).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard