Skip to content

Want to filter, watch and bookmark items? Sign in to check out the full ChangePilot feature set.

MC746320 Exchange PowerShell: Retirement of tenant admin cmdlets to Get, Set, and Remove UserPhotos

Primary service: Admin

ChangePilot summary

  • Exchange Online UserPhoto cmdlets (Get-UserPhoto, Set-UserPhoto, Remove-UserPhoto) are being retired.
  • Microsoft Graph PowerShell SDK is recommended for managing user profile photos post-retirement.
  • The change is part of an effort to ensure a coherent user profile photo experience across Microsoft 365.
  • Organizations affected by the change should transition to alternative methods like Azure Active Directory or the Microsoft 365 Admin Center.
  • Administrators need to update scripts and workflows and may require training on the new tools.

History

Recorded changes

No changes recorded since ChangePilot first saw this post.

Microsoft message

As originally announced in MC678855 (October '23), we will be retiring the Exchange Online UserPhoto cmdlets beginning April 2024:

  • Get-UserPhoto
  • Set-UserPhoto
  • Remove-UserPhoto

Instead, we recommend the utilization of Microsoft Graph PowerShell SDK, which is where we will continue to invest our development resources. This retirement is part of the efforts to ensure coherent user profile photo across Microsoft 365.

[When this will happen:]

We'll be gradually rolling this out to customers in early April 2024, and the roll out will be completed by late April 2024.

[How this will affect your organization:]

You are receiving this message because our reporting indicates one or more users in your organization are using the Exchange Online UserPhoto cmdlets.

After this change the Exchange Online UserPhoto cmdlets for tenant admins to Get, Set, and Remove user profile photos will no longer be usable.

[What you need to do to prepare:]

Instead of using Exchange Online UserPhoto cmdlets, we recommend using Microsoft Graph PowerShell SDK. More info: Deprecation of Exchange Online PowerShell UserPhoto cmdlets. Alternatively, tenant admins can administer the user photos through Azure Active Directory or through Microsoft 365 Admin Center.


More information

Details

Release start
Release end
Published by Microsoft

Services

  • Admin
  • Exchange
  • Graph

Microsoft tags

  • Retirement
Open in the Microsoft 365 admin center