Remove Profile photos from Teams

Woods, Alfred 21 Reputation points
2022-10-26T15:55:58.353+00:00

I need help with removing profile photos in Teams. We recently migrated to O365
Users are uploading ridiculous profile picture, so I need a power script cmd to remove them.
After I remove them I need to be able to load only professional pictures from HR locally saved pictures.

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,195 questions
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Andorfer 161 Reputation points
    2022-10-26T16:19:38.28+00:00

    Hi,

    the way to remove user pictures is using the exo powershell and the command Remove-UserPhoto "user1@Company portal .com" here is the reference to it https://learn.microsoft.com/en-us/powershell/module/exchange/remove-userphoto?view=exchange-ps just be aware, that after deleting stuff, it might be still visibile afterwards for ~ 24h until the cache in all cloudworkloads gets an update.

    For the Bulk upload/update of the user pictures you could use powershell, but depending on the size of your organisation this is a bit annoying. I would suggest you using the tool from the ms partner code two. They have an free software called "CodeTwo User Photos for Office" and that one makes things pretty easy to mass update user profile pictures.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.