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 August 31st. Request your voucher.

Reply
d_u_a
Helper I
Helper I

Embeding Dashboards, Reports by Using Java based Rest Api

I 'm reading embeding documentation from this link : https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-customers . 
In 'Embed your content within your application' title content it's telling how to embed with C# but i need Java codes. 
Is there any documentation with using Power Bi Rest Api and Java ?

 

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @d_u_a,

 

Please refer to PowerBI-SDK-Java and powerbi-rest-java. Maybe we can have the official release of Java SDK in the future. Please also vote up this idea.

 

 

Best Regards,

Dale

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

 @v-jiascu-msft 

PowerBI-SDK-Java is creating embed token with Power Bi Workspace Collections and  when i try to create a collection it says:
The Power BI Workspace Collection service is deprecated. Create a Power BI Embedded resource to embed your Power BI dashboards and reports in your application.

So we can't use  PowerBI-SDK-Java .

Hi @v-jiascu-msft ,


In PowerBI-SDK-Java we need to accessKey

String accessKey = "<<your access key from portal >>"

How can i see or get my accessKey ? I did steps in below link and got access key but is it the same access key what powerbi-java-sdk uses ? 


https://help.bittitan.com/hc/en-us/articles/115008109327-How-do-I-get-an-access-key-for-Azure-Blob-s...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.