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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
GauravLolge
Regular Visitor

Action bar is not visible in embedded report when using service principal - Power BI Client

Hi All,

 

I have integrated Power BI reports into a React application using the Power BI Client JavaScript library. I'm using a service principal, which has been added as a member of the workspace.

 

On desktop, I can see the action bar. However, in the embedded report, the action bar is not visible. In the Power BI Playground, when I load the report using an embed token, the action bar is also not visible. But if I load the report without an embed token, the action bar appears as expected

 

Any help on this please?

 

Thanks

Gaurav

 

 

1 ACCEPTED SOLUTION
rohit1991
Super User
Super User

Hi @GauravLolge ,


When you embed Power BI using a service principal, the action bar (with things like Export, Save, etc.) is often hidden by default. That’s because the service principal usually only gets “view” permissions for security reasons, so a lot of interactive UI elements including the action bar won’t show up.  Its because, If you generate an embed token for a regular user (with higher permissions), you’ll often see the action bar. But with a service principal, you need a few things lined up:

 

What you should check:

 

  1. Workspace Role: Make sure your service principal is actually a Member or Contributor in the workspace. If it’s only a Viewer, most action bar features will stay hidden.

  2. Embed Config: In your JavaScript config, you can request the action bar like this:
    settings: {
    panes: {
    actions: { visible: true }
    }
    }

     

  3. Token Permissions: Service principal embed tokens are usually limited to viewing only. If your use case allows, try embedding as a user (just for testing) to see if the action bar shows up that’s usually the difference.

  4. Why the Playground is different:The Playground usually uses user-based tokens, which is why you see the action bar there, but not in your own app with a service principal.

With service principal embedding, the action bar is hidden unless you have the right permissions and settings. Double-check your workspace role and embed settings. For more advanced actions, “user owns data” embedding is needed, but that’s a different setup.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

View solution in original post

8 REPLIES 8
v-sdhruv
Community Support
Community Support

Hi @GauravLolge ,

Service principals typically operate under the “App owns data” model. This model restricts UI elements like the action bar for security and licensing reasons ;even if the token has edit permissions.

Refer similar post -
https://learn.microsoft.com/en-us/answers/questions/5193203/power-bi-embedded-action-bar-limitations

Since Copilot is enabled in your tenant and visible in Power BI Service, you can try to check-

1. The workspace is backed by Premium capacity

2. The service principal has contributor or member access

3. The embed token includes the necessary dataset and report scope

You can also try switching to “User Owns Data” Model.
Hope this helps!

GauravLolge
Regular Visitor

Hi @rohit1991  @v-sdhruv  @GilbertQ 

 

I am able to get the the header with user AAD token but copilot and bookmark options are not visibile. Copilot is enabled in tenant settings and can see this option in action bar in power bi service 

v-sdhruv
Community Support
Community Support

Hi @GauravLolge ,

Since we didnt hear back, we would be closing this thread.
If you need any assistance, feel free to reach out by creating a new post.

Thank you

v-sdhruv
Community Support
Community Support

Hi @GauravLolge ,

Just wanted to check if you had the opportunity to review the suggestions provided?
If you need any assistance, let us know.

Thank You

v-sdhruv
Community Support
Community Support

Hi @GauravLolge ,

Were you able to resolve the issue?

GauravLolge
Regular Visitor

HI @rohit1991  I am using service principal and it is added as member to workspace. I am genearting token with Edit permissions still action bar is not visible. I will try with user token now as you mentioned. 

rohit1991
Super User
Super User

Hi @GauravLolge ,


When you embed Power BI using a service principal, the action bar (with things like Export, Save, etc.) is often hidden by default. That’s because the service principal usually only gets “view” permissions for security reasons, so a lot of interactive UI elements including the action bar won’t show up.  Its because, If you generate an embed token for a regular user (with higher permissions), you’ll often see the action bar. But with a service principal, you need a few things lined up:

 

What you should check:

 

  1. Workspace Role: Make sure your service principal is actually a Member or Contributor in the workspace. If it’s only a Viewer, most action bar features will stay hidden.

  2. Embed Config: In your JavaScript config, you can request the action bar like this:
    settings: {
    panes: {
    actions: { visible: true }
    }
    }

     

  3. Token Permissions: Service principal embed tokens are usually limited to viewing only. If your use case allows, try embedding as a user (just for testing) to see if the action bar shows up that’s usually the difference.

  4. Why the Playground is different:The Playground usually uses user-based tokens, which is why you see the action bar there, but not in your own app with a service principal.

With service principal embedding, the action bar is hidden unless you have the right permissions and settings. Double-check your workspace role and embed settings. For more advanced actions, “user owns data” embedding is needed, but that’s a different setup.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
GilbertQ
Super User
Super User

Hi @GauravLolge 

 

could you please provide a screenshot of the action bar you're talking about so we can assist you better, and I'm sure that it might be possible to show the action bar using some of the embedded property settings





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors