Forum Discussion
Not getting the bot name
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.
John_Miller How to update the icon of bot. It is not getting updated from the manifest file. I am using Teams tool kit.
- John_MillerApr 08, 2024
Microsoft
ray2408 Use the Bot Framework portal or Azure Bot Service resource in Azure, depending on which your using.
- jqzhaoJul 23, 2024Copper Contributor
John_Miller We used to localize our bot name using the manifest file. Please advise how to do that with our Azure Bot Service resource.
- Jason1395Apr 08, 2024Copper Contributor
John_Miller We also faced the same issue, I used the Teams Toolkit create the bot by default in VSCode.
We can change the bot icon successfully by changing the "icons"-->"color" in file manifest.json in old teams while it does not work in new teams.- Meghana-MSFTApr 12, 2024Former Employee
Jason1395 - Please use Bot Framework portal or Azure Bot Service resource in Azure as mentioned by John_Miller in previous comments.