Forum Discussion
unable to save the report in embedded
- 8 years ago
Hi toy,
How did you create the embedded token? The access level should be "Edit" if you wan to save reports. Please check out.
Best Regards,
Dale
so right now i have :
generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: "edit");
1. do i need a datasetid?
2. how can i get a list of sanctioned accessLevel properties?
and to followup
according to
there is this:
GenerateTokenRequest(String, String, Nullable<Boolean>, EffectiveIdentity)
public GenerateTokenRequest (string accessLevel, string datasetId, Nullable<bool> allowSaveAs, Microsoft.PowerBI.Api.V2.Models.EffectiveIdentity identity);
does this mean that
a) if i want users to be able to saveAs - i have to set allowSaveAs=true?
b) im setting identity=new EffectiveIdentity(username, report.DatasetId);
right now with my current version listed above (the first piece of code)
im still getting the unable to save error:
Please verify you have the right permissions or contact support. If you contact support, please provide these details.
Hi toy,
1. Since you have post some threads that you have referred to, I didn't ask previously. But now I want to confirm with you if you grant the permissions in the Azure portal. (not just assign permissions and save but click the "Grant Permissions" directly.)
2. What's the scenario? The App Owns data or the User Owns data. If it's App Owns data, the master account should be an admin of that App workspace. If it's User Owns data, the users should have the "Save" permissions.
Regarding to your questions.
1. I think we need the datasetid in your scenario.
2. It could be "Create", "Edit', "View".
Best Regards,
Dale