Updated Bot Still Showing Old Version & Connection Issues for Some Users
๐น Context: Initial Connection Issue (Solved)
I recently built a Copilot Studio bot that triggers a Power Automate flow using a service account connection. Initially, users were getting a "Permissions Required" message when interacting with the bot in Teams.
- The issue was caused by Microsoft Entra ID authentication: since all Power Automate connections were set to "Use this connection (service account)," users had no personal connections to authenticate with.
- I solved this by adding an authentication action in Copilot Studio before triggering the flow.
Now the bot works correctly for me and some other users.
๐น New Issue: Some Users Still See Old Bot Version & Connection Errors
After solving the connection issue and updating the bot, some users still see:
โ Old connection error messages (Permissions Required).
โ Previous bot version instead of the updated one.
When these users try to uninstall the bot, they see:
- A "Permissions Required" message asking them to connect but when they click "no permissions associated with this copilot
- However, after that, they are able to "Add" the bot again (not just "Open"), meaning the bot was actually uninstalled.
- Even after clearing the Teams chat history, they still see the old connection error when using the bot again.
๐น What We Tried:
โ Deleting & Re-adding the Bot
- They uninstalled the bot and reinstalled it, but the old errors persisted.
๐น What Help Do I Need?
๐ How can we ensure that all users get the updated bot version immediately?
๐ How can we fully reset authentication and permissions when a user reinstalls the bot?
๐ Is there a way to force Teams to refresh the bot for all users?
Any help or insights would be greatly appreciated! ๐