Skip to main content

Notifications

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:
  • 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,121 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
    5 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
    7,821 Super User 2025 Season 1 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
    40,272 Super User 2025 Season 1 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard