Forum Discussion
Power BI Embed token with Edit Access Level
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?
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.
2 Replies
- nd1022Frequent Visitor
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.
- v-gizhi-msftCommunity Support
Hi,
It is a permission error, and you should assign reshare permission in dataset for users.
See this:
Best Regards,
Giotto