Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Cannot read property 'libraryid' of undefined on app open

Hey everyone,


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



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

Works great, many thanks 🤜🤛

Hi @gjross ,

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

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.

Advocate I
Advocate I

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."

Helpful resources

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,776)