Forum Discussion
Is there a way to get profile pictures to show up in chats and posts
In slack, everytime someone posts or sends a direct message, their avatar or icon shows their picture. My clients want that feature. In Teams we can change our profile picture but chats and posts only show the circle with initials. How do I make chats and posts show the pictures?
For your reference, here is an example in Slack and in Teams:
Slack:
Teams:
10 Replies
- BarryGoblonIron Contributor
mugshotmike Firstly, you can manually add profile pictures to each post or chat message by using the attachment icon. This allows you to insert the user's profile photo as needed on a per-message basis. Another option is to create custom Teams apps/bots that can scan for new messages and automatically insert the sender's profile picture using Graph API and messaging extensions.
However, this would require development work. Additionally, you could consider using chat stickers or memes in place of profile pictures to emulate the visual look of images for each user in chats, since Teams has a built-in sticker functionality.
- LeonPavesicSilver Contributor
Hi mugshotmike,
in Microsoft Teams, profile pictures should automatically appear in chats and posts. If they are not showing up, try the following steps:
1) Check if the pictures are showing using Microsoft Teams on the Web (https://teams.microsoft.com/)
2) Clear the Microsoft Teams Desktop App cache:a) Classic Teams has a caching scheme that's designed for capacity and performance optimization. The Teams service caches general user information for up to three days. The Teams client also caches general user information locally. Some data, such as display name and telephone number, can be cached for up to 28 days in the client. Profile photos can be cached for up to 60 days.
User information isn't updated in Classic Teams - Microsoft Teams | Microsoft LearnIf Teams is still running, right-click the Teams icon on the taskbar, and then select Quit.
Open the Run dialog box by pressing the Windows logo key + R
In the Run dialog box, enter the following path, and then select OK:
%appdata%\Microsoft\Teams- Delete all files and folders in the directory.
Restart Teams.
b) New Teams:
Method 1: Reset the app
- Type settings in the search box, and then select the Settings app from the results.
- Select Apps > Installed apps, and then type Microsoft Teams in the search box.
- Locate the New Microsoft Teams app from the results, select the More options button (...) on the right, and then select Advanced options.
- In the Reset section, select Reset.
- Restart Teams.
Method 2: Delete the files
If Teams is still running, right-click the Teams icon on the taskbar, and then select Quit.
Open the Run dialog box by pressing the Windows logo key + R
In the Run dialog box, enter the following path, and then select OK.
%userprofile%\appdata\local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams- Delete all files and folders in the directory.
Restart Teams.
- mugshotmikeCopper ContributorHey Leon,
Thanks for responding. For #1 above, I tried it on the web version and it works as desired, showing the pictures as desired. For #2a, I deleted the cache and restarted teams (actually I did this several times, but the cache was already cleared) and the pictures don't appear, just the circles with initials. I believe I am working on the classic version of teams. In checking the version it doesn't say whether classic or new, but here is what it says: You have Microsoft Teams version 23335.232.2637.4844.
You've got the latest version. It was last updated on 2/13/2024.
The client version is 49/24010419128.
Any more ideas?- LeonPavesicSilver Contributor
Hi mugshotmike,
it looks like the Desktop version is causing the issue.
Can you switch to a new Microsoft Teams and let me know if the same issue exist?