Forum Discussion

Fo0zLe's avatar
Fo0zLe
Regular Visitor
3 years ago
Solved

Changing report-id's in embedded environment.

Goodmorning,

 

i am using the report-id's to embed the report in a application, however when i make changes to the Report in PowerBI desktop and publish it to the workspace the report id differs from the embedded one.

 

Question:

Is there a way to fetch report id's from a workspace without needing to change embed code?

Is there a way to change the report id for a specific report in a workspace to the embedded report id?

 

Thanks in advance!

  • Hi Fo0zLe ,

     

    If you just republish and replace the original report, its ID does not change.
    If you rename it and publish it again or delete the original report and publish it again, the report is actually a new report, so the ID will be different from the original one.
    Besides, you can use Reports - Get Reports In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn  to get the report IDs in the workspace.

     

    Best Regards,

    Jianbo Li

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

1 Reply

  • Hi Fo0zLe ,

     

    If you just republish and replace the original report, its ID does not change.
    If you rename it and publish it again or delete the original report and publish it again, the report is actually a new report, so the ID will be different from the original one.
    Besides, you can use Reports - Get Reports In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn  to get the report IDs in the workspace.

     

    Best Regards,

    Jianbo Li

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