Forum Discussion

mugshotmike's avatar
mugshotmike
Copper Contributor
Feb 10, 2024

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

  • BarryGoblon's avatar
    BarryGoblon
    Iron 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.

  • LeonPavesic's avatar
    LeonPavesic
    Silver 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 Learn

    1. If Teams is still running, right-click the Teams icon on the taskbar, and then select Quit.

    2. Open the Run dialog box by pressing the Windows logo key + R

       
    3. 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

    1. Type settings in the search box, and then select the Settings app from the results.
    2. Select Apps > Installed apps, and then type Microsoft Teams in the search box.
    3. Locate the New Microsoft Teams app from the results, select the More options button (...) on the right, and then select Advanced options.
    4. In the Reset section, select Reset.
    5. Restart Teams.

    Method 2: Delete the files

    1. If Teams is still running, right-click the Teams icon on the taskbar, and then select Quit.

    2. Open the Run dialog box by pressing the Windows logo key + R

       
    3. 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.

    Clear Teams cache - Microsoft Teams | Microsoft Learn


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)
    (Twitter)

    • mugshotmike's avatar
      mugshotmike
      Copper Contributor
      Hey 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?
      • LeonPavesic's avatar
        LeonPavesic
        Silver 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?

         



        Please click Mark as Best Response & Like if my post helped you to solve your issue.
        This will help others to find the correct solution easily. It also closes the item.


        If the post was useful in other ways, please consider giving it Like.




        Kindest regards,


        Leon Pavesic

        (LinkedIn)
        (Twitter)

Resources