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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jonas_heepen
Regular Visitor

Refresh Dataflow via Power BI API

Hi all,

 

I'm having trouble using the Power BI API to refresh dataflows.

 

For example, what I frequently do is refresh datasets from an Azure Function App via the Power BI API using commands such as

 

object refresh = await client.Datasets.RefreshDatasetInGroupAsync(groupId, datasetId);

 

Now, when I'm trying to do the same for a dataflow using the following command

 

object refreshDataflow = await client.Dataflows.RefreshDataflowAsync(groupId, dataflowId);

 

I keep getting this error

 

'PowerBIClient' does not contain a definition for 'Dataflows' and no extension method 'Dataflows' accepting a first argument of type 'PowerBIClient' could be 
found (are you missing a using directive or an assembly reference?)

 

I don't understand the problem. Can anyone help me with this please?

 

Thanks in advance

 

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @jonas_heepen ,

 

You can refer to this case which is similar to yours:
https://community.powerbi.com/t5/Developer/Step-2-in-Sample-quot-Push-dat-to-Azure-by-Adam-Saxton/m-...
If it doesn't work, you could also create a support ticket.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-eachen-msft
Community Support
Community Support

Hi @jonas_heepen ,

 

You can refer to this case which is similar to yours:
https://community.powerbi.com/t5/Developer/Step-2-in-Sample-quot-Push-dat-to-Azure-by-Adam-Saxton/m-...
If it doesn't work, you could also create a support ticket.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors