An error has occurred: Entity 'bot' With Id does not exist

IOPS Power Platform 1 0 Reputation points
2025-06-09T17:43:20.1733333+00:00

I am using model driven app with co-pilot feature. Bot was created each time the customize option was selected within the app designer. I think one bot was deleted and currently unable to publish the model driven app as it shows the error saying bot does not exist. Any way to remove the reference of the bot from the app?

Microsoft Copilot Other
{count} votes

1 answer

Sort by: Most helpful
  1. Smit Agrawal 95 Reputation points Microsoft External Staff
    2025-06-10T07:54:17.6566667+00:00

    If a Copilot bot linked to a model-driven app was deleted, the app may fail to publish due to a broken reference. To fix this, open the app in the designer, go to Settings, and disable the Copilot control under features. This removes the bot reference. Save and publish the app again. If the issue persists, ensure no other components are referencing the deleted bot. This should resolve the error and allow publishing. If needed, recreate the bot or contact your admin for further support. Let me know if you'd like any further help.

    Thanks,

    Smit Agrawal


    If the response is helpful, please click on "upvote" button. You can share your feedback via Microsoft Copilot Developer Feedback link. Click here to escalate.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.