Search code examples
botframeworkmicrosoft-teams

Bot Icon Not Updating


I've updated the icon for my bot in the Azure portal about 35 hours ago, but it's still showing the old one for new messages sent from the bot. Surely it should have changed by now? Is there any issue with this currently?

It's correct in the Azure portal in the "Test in Web Chat", but Teams is still showing the old icon, even for new messages.

Update:

It's been a few days now, and the image finally changed, but now it's totally corrupted. Is there a way to see what's wrong with my PNG? Is there an issue with the bot framework/Teams of some sort? See images below:

Error: enter image description here

Original Icon (I don't know if SO changes the file in any way, but presumably not) enter image description here

Update: I've now modified my bot in the Azure portal to use the exact same icon as another bot which is working fine, and it's still broken, so I'm thinking there is an issue with the bot framework/Teams in some way at the moment.


Solution

  • What I've encountered from experience is that when updating the bot's info in "Bot App Registration" such as icon and display name.

    1. You can either wait a couple days and see if it fixes itself.
    2. I've consistently been able to get it to update sooner by logging in and out of Teams as well as closing it.

    I have a feeling that it's related to the cache since Teams is built with Electron. Some other post mentioned this and there's no "official" surefire way to do this. Playing with the manifest also does not seem to affect it to update sooner.

    TL;DR Log in and out of Teams, close it. If using web version, clear the cache. Log back in.

    Good luck!