I want to bulk upload all my employees profile picture in Teams. How to upload these or kindly share the path?

HR 0 Reputation points
2023-11-06T08:31:25.2333333+00:00

I want to bulk upload all my employees profile picture in Teams. How to upload these or kindly share the path?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,465 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,405 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Prasad-MSFT 7,331 Reputation points Microsoft Vendor
    2023-11-06T10:40:28.8966667+00:00

    The Microsoft Graph API allows you to update profile photos for various entities such as users, groups, teams, and contacts. However, it does not directly support batch operations for updating profile photos. You would need to make individual requests for each entity whose photo you want to update.

    Update a user's profile photo:

    PUT https://graph.microsoft.com/v1.0/me/photo/$value
    Content-type: image/jpeg
    
    Binary data for the image
    

    In the above request, replace me with the id or userPrincipalName of the user whose photo you want to update. The binary data for the image should be included in the body of the request.

    For more details, you can refer to: https://learn.microsoft.com/en-us/graph/api/profilephoto-update?view=graph-rest-1.0&tabs=http#example-1-update-the-photo-of-a-user

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. LiweiTian-MSFT 21,615 Reputation points Microsoft Vendor
    2023-11-08T01:06:57.65+00:00

    Hi @HR

    As Prasad said, Teams currently cannot batch upload profile photos for users.

    To get this feature more quickly, you can send a feedback directly to Microsoft Feedback to add it in future updates.

    Many features of our current products are designed and upgraded based on customers’ feedback. With requirements like this increase, the problem may well be released in the future.

    Thanks for your understanding and support.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.