Skip to content
Skip to main content Microsoft Copilot Copilot Word Excel PowerPoint Outlook OneDrive Teams Copilot Studio Work IQ Cowork Individuals Business Enterprise Education Plans and pricing Support Customer stories Blog Copilot vs. competitors Tech community Frontier program AI for Work Roadmap Agents New user onboarding Roll-out and adoption Prompts and use cases AI knowledge Connectors Open Copilot Download the app

Discover what’s coming to Microsoft Ignite, Nov 17-20, 2026. Register now.

  1. Blog home
  2. Change your Power Virtual Agents default canvas bot icon and name
Feature releases March 30, 2020 4 min read

Change your Power Virtual Agents default canvas bot icon and name

By Diganta Kumar, view all posts by this author

Share

  • Link copied to clipboard!

Content types

  • Feature releases
  • News
  • Tips and guides

Topics

  • Agent governance
  • Agentic AI
  • Extensibility
  • Product Integrations

Power Virtual Agents empowers you to quickly and easily create powerful bots using a guided no-code graphical experience — all without the need for data scientists or developers. After you create and publish a bot, your customers use the bot’s canvas to interact with your bot. Today, the default canvas is not customizable out-of-the-box. For example, you cannot change a bot icon or bot name using the Power Virtual Agents portal.

To customize the default canvas, we have an advanced solution that requires software development. Our guidance for this solution is for experienced IT professionals, such as IT admins or developers who have a solid understanding of developer tools, utilities, and IDEs. To learn more about this advanced solution, go to the customize and host your chat canvas documentation.

However, it is hard for a business user to use the above advanced solution without involving their IT department. In this blog, we will show you a simpler way to create a custom canvas. You can copy-paste the HTML code in your tools (for example, Website, Intranet, or blog) of choice where you want to show the custom canvas. You can learn the following,

  • Configure the canvas with your bot
  • Change the bot icon
  • Change the bot name

Configure the canvas with your bot

  1. Create and publish a bot.
  2. After a bot is created, get the Bot ID by going to the Mobile app under Channels.
  3. Copy-paste the HTML code below in a notepad and save as an index.html.
  4. Update the index.html file to enter your Bot ID under var BOT_ID = “<ENTER YOUR BOT ID>“.
  5. Open the index.html using a modern browser (for example, New Microsoft Edge, Chrome) to open the custom canvas.
  6. Test the bot to ensure you are receiving responses from your bot and that it’s working correctly.

Alternately, you can cut-paste the code below into the w3schools.com HTML try it editor to see how it works (remember to add your Bot ID).




    Contoso Sample Web Chat 
    
    


    

Contoso Bot Name

Change the bot icon

Once you get the canvas working with your bot, you will be able to customize it. If you need to do some simple styling, you can set them via styleOptions. Style options are a set of predefined styles that you can modify directly, and canvas will compute the whole stylesheet based on it. You can find the full list of all settings that you can easily modify in canvas on the defaultStyleOptions.js file.

Now to change the bot icon, update the index.html file with the following sample code. If you don’t have an image URL, you can use add a Base64 encoded image string instead. Replace the bot and user avatar images with your company images.

…
const styleOptions = {
           // Add styleOptions to customize web chat canvas
            botAvatarImage: 'https://docs.microsoft.com/en-us/azure/bot-service/v4sdk/media/logo_bot.svg',
            userAvatarImage: 'https://avatars.githubusercontent.com/u/xyz'
       
 };  
…

Change the bot name

Now change the bot name in your canvas, update the
text in the index.html file with the following.

…

    

Contoso Bot Name

…

We’d love to hear your feedback. Please visit our community forum at https://aka.ms/PowerVirtualAgentsForum and share your feedback.

And submit your idea requests at https://aka.ms/PowerVirtualAgentsIdeas.

Disclaimer

You may install and use the sample code included in this documentation only for use with the Microsoft Power Virtual Agents service. The sample code is licensed “as is” and is excluded from any service level agreements or support services. You bear the risk of using it. Microsoft gives no express warranties, guarantees, or conditions and excludes all implied warranties, including merchantability, fitness for a particular purpose, and non-infringement.

Diganta Kumar

Diganta Kumar

See posts by this author

Related posts

  • Feature releases October 28 3 min read

    The GitHub Copilot harness in Copilot Studio is now the Microsoft Copilot harness

    See how the Microsoft Copilot harness is helping Copilot Studio makers build more capable, reliable agents for complex business challenges.
  • Feature releases October 21 6 min read

    Introducing the customer conversation harness in Microsoft Copilot Studio

    Build customer-facing agents in Copilot Studio with a new conversation harness that connects voice, chat, business knowledge, and contact data.
  • Feature releases October 15 4 min read

    Delegate shared business processes to agents that are more persistent and proactive with Microsoft Copilot Studio

    Delegate shared business processes to persistent agents that work across your organization, carry context forward, and improve over time.

Try Copilot Studio

Streamline business processes across your organization by building custom agents with low-code tools and generative AI.

Try for free
Learn more
A man looking at his phone
Surface Laptop Ultra Surface Pro Surface Laptop Surface RTX Spark Dev Box Explore Copilot Explore Microsoft products Windows 11 apps Account profile Download Center Microsoft Store support Returns Order tracking Certified Refurbished Why buy from Microsoft Store Flexible Payments Microsoft in education Devices for education Microsoft Teams for Education Microsoft 365 Education How to buy for your school Educator training and development Deals for students and parents AI for education
Microsoft AI Microsoft Security Dynamics 365 Microsoft 365 Microsoft Power Platform Microsoft Teams Microsoft Copilot Small Business Azure Microsoft Developer Microsoft Learn Support for AI marketplace apps Microsoft Tech Community Microsoft Marketplace Software companies Visual Studio Careers About Microsoft Company news Privacy at Microsoft Investors Diversity and inclusion Accessibility Sustainability
English (United States)
Your Privacy Choices Opt-Out Icon Your Privacy Choices
Consumer Health Privacy Sitemap Contact Microsoft Privacy Manage cookies Terms of use Trademarks Safety & eco Recycling About our ads