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!!

Anonymous
Not applicable

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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Virtual Agents Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Virtual Agents!

Top Solution Authors
Users online (3,200)