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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Entity not found in La...
Power Pages
Suggested Answer

Entity not found in LazyDynamicMetadataCache

(2) ShareShare
ReportReport
Posted on by 50
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
    Michael E. Gernaey Profile Picture
    53,369 Super User 2025 Season 2 on at
     
    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.
  • alx.kpk Profile Picture
    50 on at
    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
    Fubar Profile Picture
    8,350 Super User 2025 Season 2 on at
    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.
     
     
  • JB-10040341-0 Profile Picture
    47 on at
    The same issue has popped up for me on two separate pages in two separate environments in two separate tenants. Did microsoft break something?
  • MR-16040614-0 Profile Picture
    2 on at
    I am experiencing the same issue. Did you guys solve it? 
     
     
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
  • Suggested answer
    CU16042345-0 Profile Picture
    2 on at
    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.
  • Suggested answer
    IlseKH Profile Picture
    2 on at
     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
    CU30070830-5 Profile Picture
    2 on at
    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"

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard