Forum Discussion
Anonymous
6 years agoNot applicable
PowerBI GetDatasetByID returns 403
I get 403 forbidden whenever I try to get DatasetInfo using var dataset = pbiClient.Datasets.GetDatasetByIdAsync(report.DatasetId); but when I include the GroupId in returns data successffuly v...
- 6 years ago
Anonymous There's a slight difference between the two methods:
- The first returns a dataset in My Workspace.
- The latter returns a dataset in the workspace with GUID <xxxx-xxxx>
So if report.DatasetId does not exist in My Workspace you get that error.
Did this help you or did I answer your question?
Then please give kudos or mark my post as a solution!
My blog: nickyvv.com
Twitter: @NickyvV
nickyvv
6 years agoMost Valuable Professional
Anonymous There's a slight difference between the two methods:
- The first returns a dataset in My Workspace.
- The latter returns a dataset in the workspace with GUID <xxxx-xxxx>
So if report.DatasetId does not exist in My Workspace you get that error.
Did this help you or did I answer your question?
Then please give kudos or mark my post as a solution!
My blog: nickyvv.com
Twitter: @NickyvV