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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Generate EmbedToken via PowerBI's API with dataset id only

Hey,

 

So much like the title says, we've been following all kind of variants of https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken/generatetoken, but haven't been able to make anything work yet. We'd need to generate a EmbedToken, but since we're using "My Workspace" over on PowerBI, we do not have access to a WorkspaceId. We also use Dashboards (and not necessarily Reports), so we don't have any ReportId's to specify either. This means we'd need to get the token based on only our Dataset ID (or DashboardId, if that helps at all).

 

Ideas?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Our final solution was to contact the people responsible/administrators of AD/PowerBI to get an "actual" workspace (rather than My Workspace) created. Also recommended to anyone with or without this issue as it seems like the API and My Workspace doesn't work well together at all.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Our final solution was to contact the people responsible/administrators of AD/PowerBI to get an "actual" workspace (rather than My Workspace) created. Also recommended to anyone with or without this issue as it seems like the API and My Workspace doesn't work well together at all.

Anonymous
Not applicable

Hi @Anonymous,

Yes, this seems a known limitation to use embed token api with old version workspaces. (my workspace also stored as old format)

17.png
Perhaps you can submit an idea for additional support with old version workspaces.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.