Forum Discussion

Magpie_Rob's avatar
Magpie_Rob
Helper I
4 years ago

App ID /URL changing

Hello, 

 

We have a SQL tabel that stores Power BI App Information (we get it using the pbi rest API). we use this for metric reporting and also for triggering refreshs when our ETL has finished. 

in the table below powerbi_app_code is the code that forms part of the url and is suppose to be unqiue. 

Yesterday a collugue updated the "Finance" app from the workspace nothing fancy just some basic changes to a report within it  and it created a new code/app? on the service it looks like nothing has changed except the URL? can anyone explain why? it looks like I'm going to have to change how the API is storing these as it failed our ETL run!

 

Thanks 

Rob    

3 Replies

  • nickyvv's avatar
    nickyvv
    Most Valuable Professional

    Magpie_Rob,

     

    that's interesting.. ğŸ˜¬

    In my opinion the URL/GUID for the App never changes, unless you unpublish and create a new app. I'm assuming you didn't do that?

    • Magpie_Rob's avatar
      Magpie_Rob
      Helper I

       Hi nickyvv

       

      Thanks for the response!

      That was my thoughts on it as well, apparently we didn't unpublish and it hasn't happened since or before.

      I think this may be a user error and our college didn't realise, are there any other (even obscure) cases you can think of that would change the URL/GUID?

  • nickyvv's avatar
    nickyvv
    Most Valuable Professional

    Magpie_Rob,

    While reading your response, one thing comes to my mind.

    While I said the URL doesn't change, what I really meant is the AppID part of the URL doesn't change, so the home page of the App so to say. I didn't mention that explicitly. Let me explain:

    The URL of an App is made up of several parts:

    https://app.powerbi.com/groups/me/apps/AppID/reports/ReportID/ReportSectionSectionID

    • The AppID never changes (IMHO)
    • Both the ReportID and SectionID can change, depending on what reports you add/delete

    Hope this helps.