Forum Discussion
Backgrounds
yamautomate thank you for looking into this. I can't replicate your success with just <guid>.jpeg, however I found that manually adding/creating a <guid>_thumb.jpeg with a maximum width of 280px seems to have worked!
aaronm443
Yes you also need to have a Thumbnail for each background picture. That Thumbnail needs to match the GUID of the background picture:
- 0b19f8d7-66d7-8856-ba5a-aaa04a3d309d.jpeg
- 0b19f8d7-66d7-8856-ba5a-aaa04a3d309d_thumb.jpeg
In my approach, I use an Azure Blob to store the pictures with their Thumbail (I add them manually to "classic" Teams beforehand, grab them from the "Uploads" Folder and upload them to the Blob).
Then my PowerShell Script (distributed via Intune) downloads all Files from that Blob. If NewTeamsIsPresent on the System where the Script runs, it downloads the same file as for "classic" Teams but creates a GUID from the Filename.
As I was quite happy that you found the needed Path for the "New" Teams Client, I'll happily share my working Script with you. May it be helpful for some1 out there:
https://github.com/yamautomate/Set-TeamsCustomBackgrounds
- mohaa98Sep 02, 2023Brass ContributorThanks for sharing the script! Was looking into a solution for deploying for either and your script seems to be a nice solution.
I am curious if you ever ran into any weird errors trying to download from the blob storage? I've got the permissions all set but keep getting error "409 (conflict)" when its trying to download during the script. Rather odd and not very helpful error.