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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Can an embed url for a Embedded report change ?

To embed a report in my application we require an embed url.

var config = {
    type: 'report',
    tokenType: tokenType == '0' ? models.TokenType.Aad : models.TokenType.Embed,
    accessToken: txtAccessToken,
    embedUrl: txtEmbedUrl,
    id: txtEmbedReportId,
    permissions: permissions,
    settings: {
        filterPaneEnabled: true,
        navContentPaneEnabled: true
    }
};

We are storing report related inforamation on our database (reportId , remortname...).

To get an embed url of a report we need to call Get Report API. 

We have a dropdown with report ids and names. So on every time we select a new valu on the dropdown ,we have to call this Get Report API to fetch the embed token.

 

I just want to know if "embed url" is fixed so that we can store it in the database and skip  Get Report API calls

1 REPLY 1
Jayendran
Solution Sage
Solution Sage

Hi @Anonymous ,

 

Yes the value for the embed url will looks like this

 

https://app.powerbi.com/reportEmbed?reportId=xxxxx&groupId=xxx

 

Since you already storing your report id and group id in db, you can try to generate this and store this also in the db.

 

Try this and let me know your response 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.