Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Solved! Go to Solution.
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);
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:
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:
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
@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);
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |