Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi ,
I am trying to generate access token with "edit" access level using serviceprincipal.
generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: "edit");
It throws below error:
Error
Status: Forbidden (403)
Response: {"error":{"code":"InvalidRequest","message":"Only folder user with reshare permissions can generate embed token"}}
RequestId: 833fba90-5f42-4f75-b2fa-64672d3b6868
What am i missing here?
Solved! Go to Solution.
Ok So I found the solution of this problem. Issue is with access level at the workspace. The security group should have Admin or Member level access at the workspace level.
Ok So I found the solution of this problem. Issue is with access level at the workspace. The security group should have Admin or Member level access at the workspace level.
Hi,
It is a permission error, and you should assign reshare permission in dataset for users.
See this:
Best Regards,
Giotto
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!