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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
pavan1
Helper I
Helper I

Embedding Powerbi reports into Application

Hi All,

 

I developed reports in desktop and published those reports into Azure service with creating some workspace for my reports.

 

For importing my local Pbix files to Azure i used microsoft provision console Application ,reports are deployed to Azure successfully and get status message with reportlink,dataset link,import id,Accesskey.

While at the time of integrating the reports into application using java API ,the preview of the data is not showing and getting error no data available.

 

I need help from anyone and i will also  share my screen and show the error.

 

skyid:jalla.pavankumar

contact No;8801262055

 

 

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee

@pavan1

Is directquery mode in your case? You'll have to update the connection string in in directquery mode connecting to Azure SQL database.

 

If it is not your case, can you post the code snippet embedding report? I use below sample to embedded report in Javascript and it works.

 

<html>

 <script src="https://microsoft.github.io/PowerBI-JavaScript/demo/bower_components/jquery/dist/jquery.js"></script>  
 <script src="https://microsoft.github.io/PowerBI-JavaScript/demo/bower_components/powerbi-client/dist/powerbi.js"></script>
  
<script type="text/javascript">
window.onload = function () {
 
var embedConfiguration = {
    type: 'report',
    accessToken: 'eyJ0eXxxxxxxxxxxxTPrKUTmxWApYaTSonFJ5kM',
    id: '8e84xxxxxxxxxxxxxxxxxe07a6823ca9',
    embedUrl: 'https://embedded.powerbi.com/appTokenReportEmbed?reportId=8e84b28d-xxxxxxxxxx07a6823ca9'	 
}; 

var $reportContainer = $('#reportContainer');
 
var report = powerbi.embed($reportContainer.get(0), embedConfiguration); 
}
</script>

<div id="reportContainer"></div>
</html>
Anonymous
Not applicable

@pavan1 :  Is this issue posted solved?. If yes can you tell me steps please

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.