The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredAsk the Fabric Databases & App Development teams anything! Live on Reddit on August 26th. Learn more.
For refreshing a power platform dataflow in PowerAutomate - "Refresh a dataflow" action (Non Power BI). This is not a PowerBI dataflow.
For supporting deployments:
In power automate:
How to programmatically get the full "Group"/groupIdForRefreshDataflow value to include the last two values i.e. -31c688f59-us Please see the example below.
Is this value comprised of {environment ID}-{workspace ID}-{Region}?
How to get -{workspace ID}-{Region}?
{
"host": {
"connectionReferenceName": "shared_dataflows_1",
"operationId": "RefreshDataflow"
},
"parameters": {
"workspaceType": "Environment",
"groupIdForRefreshDataflow": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx-31c688f59-us",
"dataflowIdForRefreshDataflow": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
Solved! Go to Solution.
Hi @srokaja ,
Yeah this one can be a bit tricky. The groupIdForRefreshDataflows you're referring to is actually a composite value that includes the environment ID and a region-specific suffix. It's not exactly the same as workspace ID + region, though it might look like it.
If you're trying to get this programmatically inside a flow, here's what usually works:
Also, make sure you're using the correct connector (shared_dataflows_1 looks fine) and that the environment has the right permissions set for the flow to trigger the refresh.
Hope this helps a bit.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
Thank you for the feedback.
I performed something similar and already was dynamically getting EnvID via workflow()?['tags/environmentName'] then had to run flow manually the first time to get -{Geo} and -{suffix} which I have in an environment variable "-31c688f59" and suffix "-us". I was trying to do my duediligendce to make sure I didn't hardcode values in case something could change with hosting in the future. Thank you
Hi @srokaja ,
Yeah this one can be a bit tricky. The groupIdForRefreshDataflows you're referring to is actually a composite value that includes the environment ID and a region-specific suffix. It's not exactly the same as workspace ID + region, though it might look like it.
If you're trying to get this programmatically inside a flow, here's what usually works:
Also, make sure you're using the correct connector (shared_dataflows_1 looks fine) and that the environment has the right permissions set for the flow to trigger the refresh.
Hope this helps a bit.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
User | Count |
---|---|
16 | |
10 | |
8 | |
4 | |
3 |
User | Count |
---|---|
53 | |
22 | |
20 | |
17 | |
12 |