cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Leeyong88
Advocate III
Advocate III

Change Avatar In my PVA BOT

Hi Everyone, 

 

Anyone has problem when changing Avatar image for BOT? I tried different URL it seems doesn't change.

 

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://imgur.com/gallery/xuaBT44',

// Suggested actions
suggestedActionLayout: 'stacked',


};

UserAvatarUnchange.JPG

 

Any tips /suggestion to fix this ? 

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @Leeyong88 ,

 

You need to use the image like .png, .jpg, .svg, or something like that.

This URL is a website link: https://imgur.com/gallery/xuaBT44

You can use this image (I opened your website, click on the right mouse button, open image): https://i.imgur.com/xuaBT44.png 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

View solution in original post

3 REPLIES 3
renatoromao
Super User
Super User

Hi @Leeyong88 ,

 

You need to use the image like .png, .jpg, .svg, or something like that.

This URL is a website link: https://imgur.com/gallery/xuaBT44

You can use this image (I opened your website, click on the right mouse button, open image): https://i.imgur.com/xuaBT44.png 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

I got it right now!!Thanks!!

njoshi1
New Member

Hello,

 

Can you please guide me how to make these changes or rather where do we make these changes on chatbot to get avatar changed? Also, is there anyway we can change the avatar for user (user's picture from Teams or Azure Directory)?

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Top Kudoed Authors
Users online (1,876)