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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
ozhug
Advocate II
Advocate II

Embedding - Only group admin can embed group content - AppOwnsData sample

 

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.

1 REPLY 1
v-micsh-msft
Microsoft Employee
Microsoft Employee

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:

Manage group owner status

 

Regards,

Michael

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.