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 sign in.
- 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! 🚀