What's happening?
A Power Automate flow designed to trigger after a conversation moves to a closed state fails at the step of updating the conversation record from the bot name to the human agent name.
Reason:
This occurs because the Power Automate flow was running under the context of a user who did not have proper permissions. The conversation entity is an activity type, and updates to closed activities are generally restricted. Only the user who closed the conversation or a user with a system administrator role can update closed conversation records.
Resolution:
Update the Power Automate flow to run in the context of a user who has the system administrator role. This will allow the flow to successfully update the closed conversation record from the bot name to the human agent name.