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
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
- toy8 years ago
Advocate I
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);ParametersaccessLevel: StringdatasetId: Stringidentity: EffectiveIdentitydoes 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:
Something went wrongUnable to save the report
Please verify you have the right permissions or contact support. If you contact support, please provide these details.Activity ID1c9b7ca5-1632-4a81-8ccf-6c4ceb88b29dRequest IDba053d95-7352-f54b-2825-e9d1f5c9b5a4Correlation IDbe274b1c-dfc6-c649-db20-3861f7efcb3bTimeMon Jul 09 2018 22:42:16 GMT-0700 (Pacific Daylight Time)Version13.0.5851.168- v-jiascu-msft8 years ago
Microsoft Employee
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