How to load variable Microsoft Teams bot icon?

2020-04-21 05:54发布

问题:

For my multi tenant bot Teams app I am trying to provide a different bot name and bot icon per customer. However, it seems that I can only set manually a name and icon once from my Azure Portal. I wonder how to make this variable.

A workaround would be to accept that I can only have 1 bot name and icon, but package manually each customer bot through App Studio / Manifest editor. However I manage to have a unique name, the bot's original name is still presented. See: http://prntscr.com/njf1x9

I am hoping to have a Microsoft Teams app in the app store that has a variable name and icon. If not possible I hope a custom package would not show the original bot's name and icon.

回答1:

The ability to support overriding app settings, including bot name, icon, and messaging endpoint, on a per tenant basis is not currently supported. It is something we are considering, but we do not have a timeframe to share.



回答2:

For others: After more talks with MSFT the eventual answer is to come up with an architecture that creates new instances..