Forum Discussion
Power BI embedded error
PowerBIEntityNotFound means the SDK is calling “generate embed token” for a workspace/report/dataset that Power BI can’t find for the identity you’re using. It’s usually one of these:
Wrong IDs
Double-check you’re using the correct:
group_id (workspace)
report_id
dataset_id (or semantic model id)
A common mistake is mixing IDs from different workspaces/tenants.
2. Service principal/user doesn’t have access
The identity used by the Python SDK must have access to the workspace:
Add it to the workspace as Member/Contributor (Viewer is often not enough for embed scenarios)
And for token generation, it must be able to read the report/dataset.
3. You’re targeting “My workspace”
“My workspace” is not supported for service principal embedding. Use a real workspace.
4. Wrong tenant / authority
If you’re using a service principal, make sure you’re authenticating against the same tenant that owns the workspace.
- daitianjun7 months agoNew Member
I think I've checked everything, but it's not working