web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : fPRNYaX3Y/lAOjpzhDsRUu
Power Apps - Building Power Apps
Answered

Cannot read property 'libraryid' of undefined on app open

Like (0) ShareShare
ReportReport
Posted on 10 Aug 2021 14:27:39 by 70

Hey everyone,

 

Got this message when opening one of my model driven apps this morning. Anyone seen this before? Anyone have a solution?

tchristy99_0-1628605234132.png

  • gjross Profile Picture
    32 on 25 Aug 2021 at 12:22:27
    Re: Cannot read property 'libraryid' of undefined on app open

    Here's the most up to date response;

     

    "thanks for the time on the phone as we validated that the problem remains without the extension.
     
    I followed up with the respective colleges.
     
    The fix was included for this week update but I see it is currently on hold.

    On this part, I am pending a response and confirmation from the owning engineer on when it will be pushed for GBR orgs.
     
    Additionally, we are working on a solution via a script aplication."
  • gjross Profile Picture
    32 on 25 Aug 2021 at 11:33:58
    Re: Cannot read property 'libraryid' of undefined on app open

    Hi @FrankMur,

     

    We are still having to use the workaround as I posted above. I had a call from MS just an hour ago, as they believed they had fixed it - I informed them otherwise.

     

    I will post back once it has been fixed.

  • FrankMur Profile Picture
    8 on 25 Aug 2021 at 11:31:39
    Re: Cannot read property 'libraryid' of undefined on app open

    Hi @gjross ,

    was there any development on your side? Did Microsoft respond to your ticket?

  • BaronReneZemo Profile Picture
    9 on 25 Aug 2021 at 04:41:00
    Re: Cannot read property 'libraryid' of undefined on app open

    Works great, many thanks đź¤śđź¤›

  • Daniel.Monger Profile Picture
    17 on 23 Aug 2021 at 13:21:16
    Re: Cannot read property 'libraryid' of undefined on app open

    I found a solution on this thread; Dynamics 365 Forum 

    Credit to Cassio in the thread for posting this findings. 

     

    Quick answer: It is a bug and to properly solve the problem, it must be done by the support side.

    Now, some insights and workarounds:

    • In my case, the problem is caused when I open the new app edit in preview mode. Even with no changes, it creates a dependent Component Library that cannot be deleted, and it breaks the app.
    • If it happened with a custom model-driven app, just create a new model-driven app using the same site map as the base. The new app will work fine.
    • A workaround to access the app is adding the flag &flags=FCB.EnableAppActions=false at the end of your app url
  • Community Power Platform Member Profile Picture
    on 23 Aug 2021 at 13:02:42
    Re: Cannot read property 'libraryid' of undefined on app open

    Thanks for this! It has worked for me after I had recreated my app. I now have a back up! 

     

     

  • gjross Profile Picture
    32 on 23 Aug 2021 at 12:41:08
    Re: Cannot read property 'libraryid' of undefined on app open

    There is a workaround...

     

    https://xxxxxxxxxxx.crm11.dynamics.com/main.aspx?flags=FCB.EnableAppActions=false&appid=xxxxxxxxxxxxxxxx 

     

    Just replace the 'xxxxxxxxxx's with the information for your organisation. You might need to contact MS support for them to implement a more permanent solution, but will report back tomorrow.

     

    Hope this helps.

  • BaronReneZemo Profile Picture
    9 on 23 Aug 2021 at 12:31:46
    Re: Cannot read property 'libraryid' of undefined on app open

    Same problem here. Rebuilding the app is out of the question due to the size and would not work.

  • Daniel.Monger Profile Picture
    17 on 23 Aug 2021 at 11:01:36
    Re: Cannot read property 'libraryid' of undefined on app open

    I have this issue too and would really hate to have to rebuild the app again due to the amount of effort the initial build took. 

  • gjross Profile Picture
    32 on 23 Aug 2021 at 10:01:39
    Re: Cannot read property 'libraryid' of undefined on app open

    @Anonymous 

     

    I have raised a support ticket, just waiting for a reply. Will update once I've heard back.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2