Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
toy
Advocate I
Advocate I

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

2 ACCEPTED SOLUTIONS
v-jiascu-msft
Employee
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.

unable_to_save_the_report_in_embedded

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

@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);

 

View solution in original post

4 REPLIES 4
v-jiascu-msft
Employee
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.

unable_to_save_the_report_in_embedded

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 

https://docs.microsoft.com/en-us/dotnet/api/microsoft.powerbi.api.v2.models.generatetokenrequest.-ct...

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);
Parameters
accessLevel: String
datasetId: String
allowSaveAs: Nullable<Boolean>

 

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:

 

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 ID1c9b7ca5-1632-4a81-8ccf-6c4ceb88b29d
Request IDba053d95-7352-f54b-2825-e9d1f5c9b5a4
Correlation IDbe274b1c-dfc6-c649-db20-3861f7efcb3b
TimeMon Jul 09 2018 22:42:16 GMT-0700 (Pacific Daylight Time)
Version13.0.5851.168

 

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

 

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@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);

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors