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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
devssolution
Frequent Visitor

Get All Table List

Hello Friends,

 

 

I am new in power bi rest api, I had succuessfully integrated power bi get dataset api in our app. 

 

Now I am trying to add List All tables api. But didn't got success.

https://api.powerbi.com/v1.0/myorg/datasets/some guid/tables

 

Every time I am getting following response. I also try with different different dataset but not getting success.

 

{
  "error": {
    "code": "NotImplemented",
    "message": "GET tables method is not supported for this dataset"
  }
}

 

Regards,

Sandeep

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@devssolution

 

Based on my test, you can only use the API against the datasets created via REST API. A normal dataset published from desktop doesn't support this.

 

View solution in original post

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee

@devssolution

 

Based on my test, you can only use the API against the datasets created via REST API. A normal dataset published from desktop doesn't support this.

 

Eric_Zhang
Microsoft Employee
Microsoft Employee

@devssolution

 

Would you mind posting the code how you call this API?

I am having same problem, I am trying to  get list of tables of datasets. 

Followed documentation : 

Please suggest

 

// for specific datasets "tables"

app.get("/dataset", [ensureAuthenticated, generatePBIAccessToken], function (req, res) {
var data = req.query;
data.user = req.user;
var options = {
method: 'GET',
url: 'https://api.powerbi.com/v1.0/myorg/groups/' + app.locals.POWERBI_GROUP + '/datasets/' + data.datasetid + '/datasources',
headers: {
'cache-control': 'no-cache',
'authorization': 'Bearer ' + req.session.access_token,
'content-type': 'application/x-www-form-urlencoded',
'accepts': 'application/json',
'charset': 'utf - 8',
'request': 'System.Net.WebRequest.Create(powerBIDatasetsApiUrl) as System.Net.HttpWebRequest'
},
form: {
"accessLevel": "View",
"datasetId": req.query.datasetid,
"allowSaveAs": true
}
};

console.log("************************************ for datasetkeys");
console.log(options);
console.log("************************************");
request(options, function (error, response, body) {
if (error) throw new Error(error);

data.embed = JSON.parse(body);

res.render('pbi-dataset', data);

});
});

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.