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 :
Power Pages - Power Apps Portals
Suggested answer

Entity not found in LazyDynamicMetadataCache

(2) ShareShare
ReportReport
Posted on by 46
I try to execute following CLI command
pac powerpages migrate-datamodel --webSiteId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Following error shows up
Error: The entity with a name = 'adx_botconsumer_adx_webrole' with namemapping = 'Logical' was not found in the MetadataCache.LazyDynamicMetadataCache with version 39564335 and timestamp 39564335
I cannot find entity adx_botconsumer_adx_webrole in my environment and don't know from where I can get it.
Categories:
I have the same question (0)
  • Suggested answer
    CU30070830-5 Profile Picture
    2 on at
    Entity not found in LazyDynamicMetadataCache
    Faced same issue while downloading Portal from CLI. If issue is not yet resolved try adding following to exclude the entity.
    "pac powerpages migrate-datamodel --webSiteId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --excludeEntities adx_botconsumer"
  • Suggested answer
    IlseKH Profile Picture
    2 on at
    Entity not found in LazyDynamicMetadataCache
     great tip from CU16042345-0 in my case I had to go to the adx_botconsumer entity and delete the lines for my webpage "Webseite"
    the link via the adx_webpage to the botconsumer was not visible. After that the download went fine! 
     
  • Suggested answer
    CU16042345-0 Profile Picture
    2 on at
    Entity not found in LazyDynamicMetadataCache
    I encountered the same issue while downloading the website using CLI. As mentioned below there is no such a table adx_botconsumer_adx_webrole . It is most likely an indirect relationship generated from an N-N relationship that the platform handles in the back end. 
    The linking to bot consumer appeared after the summer update. I started seeing the linking of the website to the bot consumer specifically the Default Bot consumer. As I don't use Virtual agent to build Bots all I had to do is remove it (the look up value) from my website in portal management and then downloaded again, no more errors. Hope this helps.
  • ronaldwalcott Profile Picture
    3,825 Super User 2025 Season 2 on at
    Entity not found in LazyDynamicMetadataCache
  • MR-16040614-0 Profile Picture
    2 on at
    Entity not found in LazyDynamicMetadataCache
    I am experiencing the same issue. Did you guys solve it? 
     
     
  • JB-10040341-0 Profile Picture
    27 on at
    Entity not found in LazyDynamicMetadataCache
    The same issue has popped up for me on two separate pages in two separate environments in two separate tenants. Did microsoft break something?
  • Suggested answer
    Fubar Profile Picture
    8,058 Super User 2025 Season 2 on at
    Entity not found in LazyDynamicMetadataCache
    Log this one with Microsoft.
     
    The item it says it cannot find is may be the Relationship name. In the Standard Model there is an adx_botconsumer table listed (https://learn.microsoft.com/en-us/power-pages/configure/power-platform-cli#install-microsoft-power-platform-cli) - I am not sure if this is new or not, but it is not present in my Enhanced Model.
     
     
  • alx.kpk Profile Picture
    46 on at
    Entity not found in LazyDynamicMetadataCache
    Thanks Michael for reaching out! Unfortunately I'm not able to find a table with the name adx_botconsumer_adx_webrole in the default solution of the environment. There are only two separate tables adx_botconsumer and adx_webrole
  • Suggested answer
    Michael E. Gernaey Profile Picture
    47,123 Super User 2025 Season 2 on at
    Entity not found in LazyDynamicMetadataCache
     
    This is a tough one.
     
    Its very possible, that the site has a dependency on this table/entity, but it's not been officially added to the Solution (Site).
     
    Make sure if the Table has webroles assigned to it, that they are also part of the solution.
     
    Please go validate that it is there and if not add it and try again.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2