Forum Discussion
Shelby Wilson
Sep 11, 2018Copper Contributor
Colours in Planner
Does anyone know if you can change the colour of the icon the plan has, seems to be randomly assigned. Would be great if you can change them like in OneNote to group them.
- Sep 12, 2018Hi, it is not possible to change the color of the icon. But it would be definitely useful to have such a feature.
SanthoshB1
Sep 19, 2018Bronze Contributor
Shelby Wilson, Alternately you can do this via PowerShell using Set-UserPhoto with -GroupMailbox
You can refer the script from this blog
https://jijitechnologies.com/blogs/update-office365-user-photo-in-bulk
SanthoshB1
Sep 20, 2018Bronze Contributor
Here is the PowerShell script for this
Function Update-GroupImage($GroupName,$PicturePath)
{
#Connect Excahnge online Powershell
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/?proxyMethod=RPS -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
#Upload Group image
Set-UserPhoto -Identity $GroupName -PictureData ([System.IO.File]::ReadAllBytes($PicturePath)) -Confirm:$false -GroupMailbox
Write-Host "$($GroupName) image was updated successfully"
}
Update-GroupImage -GroupName "Groupname@tenantname.com" -PicturePath "C:\Pictures\Groupimage.Jpg"
Set-UserPhoto -Identity $GroupName -PictureData ([System.IO.File]::ReadAllBytes($PicturePath)) -Confirm:$false -GroupMailbox
Write-Host "$($GroupName) image was updated successfully"
}
Update-GroupImage -GroupName "Groupname@tenantname.com" -PicturePath "C:\Pictures\Groupimage.Jpg"