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
anambedoya
Frequent Visitor

Issue embedding token - Dataset is not found

Hi all, the API to generate an embedded token is failing due to an Unathorized error. (See image)

anambedoya_0-1677681721107.png

 

Then, I reviewed the API to get the dataset used in the previous request but it just throws that is not found (See image)

anambedoya_1-1677681805165.png

 

Anyway, when I get the information of the report using the Get Reports in Group API (See image) you can see the provided dataset is linked to the report.

 

anambedoya_2-1677681907666.png

 

I have two customers complaining about this error saying they have permissions for the required dataset so I don't know what else I should review. I appreciate your help, thank you!

3 REPLIES 3
AmosHersch
Microsoft Employee
Microsoft Employee

NotFound error code might mean that the calling user doesn't have access to the dataset.

Is it possible that the report and dataset reside in different workspaces? If so, does the user have access to both workspaces? If not, it might depend how to report was shared with the user (through workspace access or shared directly)

The customer confirmed they have access to the dataset but the API keeps failing, do you know what else should we review?

Hi @AmosHersch, is there a solution to this issue?

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.