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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
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.

June 2025 community update carousel

Fabric Community Update - June 2025

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