Forum Discussion

chadrenstrom's avatar
chadrenstrom
Advocate I
6 years ago
Solved

modelUrl blank or missing from Get Dataflows via API

I am connecting to my Power BI using an admin account and able to pull all sorts of information, however when querying dataflows, the modelUrl is either blank or missing on all seven of our dataflows.  Are others seeing the same behavior, or am I missing something?

 

Reference documentation:

https://docs.microsoft.com/en-us/rest/api/power-bi/admin/dataflows_getdataflowsasadmin

https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/getdataflows

 

When using Get-PowerBIDataflow, the entry is blank:

 

 

 

 

 

 

Using REST (sorry, if that's incorrect terminology), the column isn't there, even if I don't convert from json:

 

  • Hi chadrenstrom ,

     

    Based on my research, if the dataflow was created by New Entity, it does not contain the model url, but you can use the Get Dataflow API to get the json of model.

     

     

    When create by import model, it allow to select a model json file.  And if create from CDM , you can put your model url awhen create this dataflow, it should show the model url when call the api


    Best regards,

     

1 Reply

  • v-lid-msft's avatar
    v-lid-msft
    Community Support

    Hi chadrenstrom ,

     

    Based on my research, if the dataflow was created by New Entity, it does not contain the model url, but you can use the Get Dataflow API to get the json of model.

     

     

    When create by import model, it allow to select a model json file.  And if create from CDM , you can put your model url awhen create this dataflow, it should show the model url when call the api


    Best regards,