Skip to main content
Microsoft
Copilot
Copilot
  • Home
    • Microsoft 365 Copilot
    • Download Microsoft 365 Copilot app
    • Microsoft 365 Copilot for Sales
    • Microsoft 365 Copilot for Service
    • Microsoft 365 Copilot for Finance
    • Microsoft Copilot Studio
    • Microsoft Security Copilot
    • Microsoft Copilot in Azure
    • GitHub Copilot
  • Agents
  • Customer stories
    • Get started with AI for your business
    • Copilot learning hub
    • Copilot 101
    • Microsoft AI
    • Copilot blog
  • For personal use
  • Try Copilot Chat
    • Global

      • Microsoft Security
      • Azure
      • Dynamics 365
      • Microsoft 365
      • Microsoft Teams
      • Windows 365
    • Tech & innovation
      • Microsoft Cloud
      • AI
      • Azure Space
      • Mixed reality
      • Microsoft HoloLens
      • Microsoft Viva
      • Quantum computing
      • Sustainability
    • Industries
      • Education
      • Automotive
      • Financial services
      • Government
      • Healthcare
      • Manufacturing
      • Retail
      • All industries
    • Partners
      • Find a partner
      • Become a partner
      • Partner Network
      • Azure Marketplace
      • AppSource
    • Resources
      • Blog
      • Microsoft Advertising
      • Developer Center
      • Documentation
      • Events
      • Licensing
      • Microsoft Learn
      • Microsoft Research
    • View Sitemap
  1. Home
  2. Change your Power Virtual Agents default canvas bot icon and name

Power Virtual Agents is now Copilot Studio. Learn more here.

  • Feature Releases
  • Published Mar 30, 2020
  • 4 min read

Change your Power Virtual Agents default canvas bot icon and name

Diganta Kumar
Share
  • Content type
  • Feature Releases
  • News
  • Tips and guides
  • Topic
  • Agent governance
  • Agentic AI
  • Extensibility
  • Product Integrations
Customize your bot's default canvas icons and name using a custom HTML snippet.

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 more articles from this author

Related Posts

  • A woman sitting at a desk with a laptop
    • Tips and guides
    • Aug 18
    • 7 min read

    Simplifying agents in Copilot: A field guide 

  • A decorative image with the text "Announcing GPT-5 in Microsoft Copilot Studio" on a white rectangle background over shades of blue and abstract shapes.
    • News
    • Aug 7
    • 3 min read

    Available today: GPT-5 in Microsoft Copilot Studio 

  • Copilot Studio U I. Text reads "What's new in Copilot Studio, July 2025."
    • Monthly Updates
    • Aug 4
    • 7 min read

    What’s new in Copilot Studio: July 2025 

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
What's new
  • Surface Pro
  • Surface Laptop
  • Surface Laptop Studio 2
  • Copilot for organizations
  • Copilot for personal use
  • AI in Windows
  • Explore Microsoft products
  • Windows 11 apps
Microsoft Store
  • Account profile
  • Download Center
  • Microsoft Store support
  • Returns
  • Order tracking
  • Certified Refurbished
  • Microsoft Store Promise
  • Flexible Payments
Education
  • 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
Business
  • Microsoft Cloud
  • Microsoft Security
  • Dynamics 365
  • Microsoft 365
  • Microsoft Power Platform
  • Microsoft Teams
  • Microsoft 365 Copilot
  • Small Business
Developer & IT
  • Azure
  • Microsoft Developer
  • Microsoft Learn
  • Support for AI marketplace apps
  • Microsoft Tech Community
  • Azure Marketplace
  • AppSource
  • Visual Studio
Company
  • 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
  • © Microsoft 2025