Forum Discussion
Not getting the bot name
ray2408 - We are able to see the bot name properly at our end. We checked in new Teams Desktop.
Could you please share more details on this?
- Jason1395Apr 02, 2024Copper Contributor
In new teams((1415/24022924517). I created a bot application “tesbot_2” using teams toolkit, the bot displays as “tesbot_2”, that is correct. But if I try to change the name as other names (“ tesbot_change” for example ) in manifest.json, the bot name still displays as “tesbot_2”, that is not correct.
The default name in manifest.json:
The changed name in manifest.json:
While the bot name will change as tesbot_change in old teams.
Also after I change the icon in manifest.json, it works in old teams but not works in new teams.- John_MillerApr 04, 2024
Microsoft
If you're using Teams Toolkit, open the `teamsapp.local.yml` file and modify the botFramework/create action. Change the `name` property.
- uses: botFramework/create # Create or update the bot registration on dev.botframework.com with: botId: ${{BOT_ID}} name: TeamsChef messagingEndpoint: ${{BOT_ENDPOINT}}/api/messages description: "" channels: - name: msteams
Now when you F5 or Start Debugging again from VS Code, your bot display name will be updated.
For non-local scenarios like a Provisioned bot in Azure, Teams Toolkit uses the Bicep files by default. Navigate to the /infra/azure.parameters.json file and modify the `botDisplayName` parameter. When finished, run Provision from the Teams Toolkit menus or CLI.If you're not using Teams Toolkit, you need to update the Bot Framework Portal registration or Azure Bot Service (whichever you are using):
Navigate to https://dev.botframework.com/bots and select your bot. Then, select Settings and change the Display name.If you're using Azure Bot Service, the steps are similar. Navigate to the Azure Portal and select the Azure Bot Service resource. You can modify the Display name setting for the bot there.
- ray2408Apr 05, 2024Brass Contributor
John_Miller How to update the icon of bot. It is not getting updated from the manifest file. I am using Teams tool kit.
- Meghana-MSFTApr 02, 2024Former Employee
Just to confirm, you have created a bot with Teams toolkit and ran it. Now you changed the color icon and bot name and uploaded the manifest again but it still shows old name and icon in new Teams.
Could you please tell us how you uploaded the updated manifest?
- ray2408Apr 02, 2024Brass Contributor
Meghana-MSFT Yes we also facing the same issue