Forum Discussion

nd1022's avatar
nd1022
Frequent Visitor
6 years ago
Solved

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