This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I am using below code to embed PowerBI QNA
var models = window['powerbi-client'].models;
var token = "...";
var config= {
type: 'qna',
tokenType: models.TokenType.Embed,
accessToken: token,
embedUrl: 'https://app.powerbi.com/qnaEmbed?groupId=f1486a62-4aca-...',
datasetIds: ['ae8aa2c5-6416-4312-...'],
viewMode: 0, // Interactive
};
// Get a reference to the embedded QNA HTML element
var qnaContainer = $('#qnaContainer')[0];
// Embed the QNA and display it within the div container.
var qna = powerbi.embed(qnaContainer, config);There aren't any errors in the browser console. I am getting below message (attached screenshot).
I tried "https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#" but still i am getting same error. Any idea why it is not working?
That isn't an error, it's a service problem
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |