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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Samo685
New Member

Power BI for clients on website

Hello,

 

I am trying to find a solution where I can display a different Power BI dashboard in my company's website for each client without a double authentication (for both the website and Power BI).

 

I have managed to reproduce the steps in the following link and running the dashboard on my local host but honestly I am lost after this and not sure what the next steps would be: https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-cor...

 

Can someone please point me in the correct direction? I have looked at multiple videos and I am unable to find something concrete.

 

This would help me land a job after an internship and I would highly appreciate your assistance.

 

Thank you for your time.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Samo685 ,

According to your statement, I know you want to learn how to embed for customer. I think the offical blog has show you step-by-step.

Firstly you need to create a workspace and publish reports which you want to embed to the workspace. Then you can set your embedding.

1. You need to select your authentication method.

Service principal or Master user. There are many differences between them in register, parameter and other steps.

2. Register an Azure AD application 

Master user: You need to assign API Permission when you register app.

For reference: Master User —— Register an Azure AD application 

 

Service principal: Register an app, create a security  group and add this app as a member/admin in this security group. Then turn on "Allow all service principal to use Power BI APIs" in Tenant setting and add this group in it. Add Service principal app as a member in the workspace with the report you want to embed. 

For reference: Service principal —— Register an Azure AD application 

Note: If you use Master User as authentication method, you don't need to turn on "Allow all service principal to use Power BI APIs" in Tenant setting, your master user accont needs to be a member or admin of this workspace.

 

3. Get the embedding parameter values

As above introduction, you will need to get differenct Parameter for different authentication method.

1.png

You can download the developer sample to have a test by visual studio. For reference: PowerBI-Developer-Samples

If you configure all steps correctly, it will work.

 

Best Regards,
Rico Zhou

 

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

1 REPLY 1
Anonymous
Not applicable

Hi @Samo685 ,

According to your statement, I know you want to learn how to embed for customer. I think the offical blog has show you step-by-step.

Firstly you need to create a workspace and publish reports which you want to embed to the workspace. Then you can set your embedding.

1. You need to select your authentication method.

Service principal or Master user. There are many differences between them in register, parameter and other steps.

2. Register an Azure AD application 

Master user: You need to assign API Permission when you register app.

For reference: Master User —— Register an Azure AD application 

 

Service principal: Register an app, create a security  group and add this app as a member/admin in this security group. Then turn on "Allow all service principal to use Power BI APIs" in Tenant setting and add this group in it. Add Service principal app as a member in the workspace with the report you want to embed. 

For reference: Service principal —— Register an Azure AD application 

Note: If you use Master User as authentication method, you don't need to turn on "Allow all service principal to use Power BI APIs" in Tenant setting, your master user accont needs to be a member or admin of this workspace.

 

3. Get the embedding parameter values

As above introduction, you will need to get differenct Parameter for different authentication method.

1.png

You can download the developer sample to have a test by visual studio. For reference: PowerBI-Developer-Samples

If you configure all steps correctly, it will work.

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.