Forum Discussion

navaraj's avatar
navaraj
Frequent Visitor
8 years ago
Solved

REST api: updatedatasources is no more working ?

I have tried an rest api to update datasource of a Dataset as

https://api.powerbi.com/v1.0/myorg/groups/".$group_id."/datasets/".$updated_dataset_id."/updatedatasources

But my bad that the result provides an error. i have even tried for Default.UpdateDatasources, but results the same ?

Please anybody is getting success in updating Direct Query Dataset ? Let me know your sample.. Thanks in advance.

  • navaraj's avatar
    navaraj
    8 years ago

    My bad, json has to be build as per provided, and backslash should be handled correctly.

3 Replies

  • I am seeing a similar thing for Refreshes. In fact, I can't get any API queries to work today!

    • navaraj's avatar
      navaraj
      Frequent Visitor

      My bad, json has to be build as per provided, and backslash should be handled correctly.