This process takes an hour or more to complete. This can be accomplished with a command: Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -SetPhotoEnabled $false For more restrictive environments, disable the user's ability to modify their profile photo.Administrators may upload prepared profile photos for their users with Exchange Online or Skype for Business Online using the Set-UserPhoto command.For users with an Exchange Online or Skype for Business Online licensing, profile photos should be cropped or resized to 648圆48 prior to uploading to Office 365 to ensure proper aspect ratios are maintained when Exchange Online automatically resizes the photos.
The issue the original author has is not in the photos, but in a limitation of the Get-UserPhoto powershell command.Īs you may note, there is no switch with the command to specify the photo size to retrieve, so the command is simply always retrieving the HR240x240 value. I disagree with the statement that photos are a mess, they work as expected.
#HOW TO CHANGE PROFILE PICTURE ON SKYPE FOR WEB UPDATE#
Note, however, that the reverse is not true: if you manually update the thumbnailPhoto attribute in Active Directory the photo in the user's Exchange mailbox will not automatically be updated.ĩ6 pixels by 96 pixels, for use in Microsoft Outlook 2013 Web App, Microsoft Outlook 2013, Skype for Business Web App, and Skype for Business.Ħ48 pixels by 648 pixels for use in Skype for Business and Skype for Business Web App Skype for Business Web App. If you upload a photo to Exchange Server, Exchange will automatically create a 64 pixel by 64 pixel version of that photo and update the user's thumbnailPhoto attribute. I haven't found the official recommendation for the particular size, but as mentioned in the below Technet article, it can can automatically resize in three different photo sizes and resolutions:Ħ4 pixels by 64 pixels, the size used for the Active Directory thumbnailPhoto attribute. When we upload larger picture, E xchange can automatically resize these photos for use in different products as needed. Why is it like that, am I doing something wrong?
$user = Get-UserPhoto |Set-Content "C:\$($user.Identity).jpg" -Encoding byteĪnd the photo has a resolution that's 240x240 and filesize 8kb I'm using a picture larger than 500kb and higher resolution than 648圆48 (to try if it gets cropped and reduced in size by Office 365) and it accepts it. Set-UserPhoto -Identity $user -PictureData (::ReadAllBytes($userphoto)) -Confirm:$false New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri proxyMethod=RPS I have a customer that wants to upload images that are bigger in size than what AD on-premise support(100kb) and Azure AD support(10kb)įrom what I've heard Exchange Online can be the one holding the profile pic of up to 500 kb and 648圆48 resolution I've been trying to read up on the subject regarding user thumbnail photos in Office365 but I'd like to hear the "final" version from Microsoft about this.