Forum Discussion
Embed group report problem
I have exactly the same issue.
Embedding of my own reports works fine.
I have created 4 groups in power bi - only one report in one group can be embedded without a Problem, all reports that are within the other 3 groups can not be embedded (401 Unauthorized) - the group permissions are all the same.
Another problem:
I have written a small javascript function to switch dynamicly between reports. At this moment i try to load a report that does not work (see above) some error-handling goes wrong and the function does not longer work, i´m not able to embed the working report anymore - i think there is some error handling missing in your underlying powerbi.js framework.
function switchReport(id){
var embedConfiguration = {
type: 'report',
id: id,
accessToken: '{{AccessToken}}',
embedUrl: 'https://app.powerbi.com/reportEmbed'
};
var $reportContainer = $('#reportContainer');
var report = powerbi.embed($reportContainer.get(0), embedConfiguration);
}
- supermulder9 years agoFrequent Visitor
Some additional infos:
- I can embed all reports that are attached to my workspace :smileyhappy:
- I can only embed reports from other workspaces if i attached them to a group dashboard that is shared with my user
It seems that the group-permissions that i´ve configured in the group-configuration are not considered in the embedding process :-( So i´m only able to embed such reports in which i get a "permission" through the process of dashboard-sharing ...
Is this a known issue at the moment ? I would appreciate any help! Thank you!