Delete Copilot Studio Bots as Admin


The article discusses the challenge of programmatically deleting Copilot Studio Bots as Admin and presents two main options for achieving this. The first option is using the Dataverse connector Bound Action "PvaDeleteBot", which can delete the bot but not the associated Azure Application. The second option is using the Dataverse Web API and calling the "PvaDeleteBot" action with the URL parameter "tag=deprovisionbotondelete", which can delete both the bot and the associated Azure Application. The article also introduces the Application Users Generator solution, which helps create and manage Application Users for calling the Dataverse API. Additionally, the article presents the Chatbot Remover solution, which leverages the App Users Generator to create a Child Flow for deleting bots. The article concludes with some comments and perspectives on the solutions.


Article 11m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time