Forum Discussion
unable to save the report in embedded
we have embedded our pbi in to our web and it looks great
thank you for that
now we are using the save() and saveAs() in the js lib to save our reports
but we are getting this errror:
Something went wrong
Unable to save the report
Please verify you have the right permissions or contact support.
If you contact support, please provide these details.
Activity ID672a656e-bceb-45ce-9bdd-a195c062f79c
Request ID5b22dbf5-1616-ca9c-473b-60cbcc253feb
Correlation IDa78c470c-7b0d-205b-75c9-c71d9ab63621
TimeSat Jul 07 2018 18:07:53 GMT-0700 (Pacific Daylight Time)
Version13.0.5851.168
Cluster URIhttps://wabi-us-north-central-redirect.analysis.windows.net/
we have tried these solutions:
https://community.powerbi.com/t5/Service/Unable-to-save-the-report/m-p/698#M144 https://community.powerbi.com/t5/Developer/Embedded-report-editing-save-error/td-p/185331
but no dice
any ideas anyone?
tia
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
Dale - hey thx for your quick reply and your response
because of your insight i got it resolved thx
final working code looks like this:
generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: "edit", allowSaveAs: true, datasetId: report.DatasetId);
4 Replies
- v-jiascu-msftMicrosoft Employee
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
- toyAdvocate 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-msftMicrosoft 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