Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I am trying to run the sample AppOwnsData project (https://github.com/Microsoft/PowerBI-Developer-Samples/tree/master/App%20Owns%20Data) and I have followed the directions and created a native app in Azure AD and assigned the correct permissions.
I have an error when trying to generate a token to use when embedded the report.
{ "error": { "code": "InvalidRequest", "message": "Only group admin can embed group content" }}
When I use Postman to GET GroupUsers from the service my account is listed as an Admin for the group.
https://api.powerbi.com/v1.0/myorg/groups/<workspaceid>/users
{
"@odata.context": "http://<blabla>.analysis.windows.net/v1.0/myorg/groups/<workspaceid>/$metadata#users",
"value": [
{
"emailAddress": "<my email address>",
"groupUserAccessRight": "Admin"
}
....<other people>
]
}
Any ideas what i can do so that service does not tell me "only group admin can emded content" ?
thanks
Mark.
Hi,
The issue here should be related to the Group Ownership.
You might need to wait some time before the Access token being refreshed.
After that, use the new Access token to generate a new Embed Token.
Please take a try to Remove the current user from the Owner of the group, then promote it to the owner again to check the results.
Check:
Regards,
Michael
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 4 | |
| 3 | |
| 2 |