Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
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
var datasetx = await pbiClient.Datasets.GetDatasetByIdInGroupAsync("xxxx-xxxx", report.DatasetId)
Solved! Go to Solution.
@Anonymous There's a slight difference between the two methods:
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
@Anonymous There's a slight difference between the two methods:
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