SOLVED

Push files to Teams Custom Background Upload folder - Get the New Teams version

%3CLINGO-SUB%20id%3D%22lingo-sub-1397578%22%20slang%3D%22en-US%22%3EPush%20files%20to%20Teams%20Custom%20Background%20Upload%20folder%20-%20Get%20the%20New%20Teams%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1397578%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe'd%20like%20to%20push%20our%20company-branded%20background%20to%20everyone's%20laptops%20in%20the%20company.%20So%20we%20know%20we%20have%20to%20put%20the%20files%20in%20the%20folder%20%25AppData%25%5CMicrosoft%5CTeams%5CBackgrounds%5CUploads%2C%20and%20created%20an%20Intune%20app%20to%20copy%20the%20files%20to%20this%20folder%20on%20everyone's%20laptops.%20But%20for%20some%20users%20it%20is%20failing%20because%20they%20don't%20have%20that%20folder%2C%20and%20apparently%20their%20Teams%20app%20does%20not%20have%20the%20feature%20yet%2C%20it%20only%20has%20the%20older%20feature%20of%20Blur%20the%20background.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20we%20checked%20the%20Teams%20desktop%20app%20version%2C%20they%20are%20all%20v1.3.xxx%2C%20so%20it's%20not%20that.%20I%20guess%20the%20actual%20Teams%20executable%20is%20just%20a%20framework%2C%20like%20a%20browser%20or%20something%2C%20and%20the%20content%2Flogic%20is%20controlled%20by%20something%20else%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20we%20make%20sure%20everyone%20in%20the%20company%20are%20at%20the%20latest%20Teams%20version%3F%20Specifically%2C%20the%20April%202020%20version%20that%20we%20understand%20included%20this%20new%20feature%20of%20selecting%20the%20background.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20noticed%20that%20those%20users%2Flaptops%20that%20don't%20have%20the%20new%20Teams%20features%20also%20have%20an%20older%20Office%20365%20version%2C%20which%20kinda'%20makes%20sense%20because%20Teams%20is%20part%20of%20Office.%20These%20users'%20laptops%20are%20on%20the%20Semi-Annual%20channel%20and%20have%20O365%20version%201908%20(we%20checked%20in%20Outlook)%2C%20whereas%20the%20ones%20with%20the%20new%20Teams%20features%20are%20on%20the%20Monthly%20channel%20with%20version%202004.%3CBR%20%2F%3EIs%20that%20it%20for%20Teams%20features%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3CP%3EDavid.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1397578%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1397653%22%20slang%3D%22en-US%22%3ERe%3A%20Push%20files%20to%20Teams%20Custom%20Background%20Upload%20folder%20-%20Get%20the%20New%20Teams%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1397653%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F634820%22%20target%3D%22_blank%22%3E%40David_Dudi_Yacouel%3C%2FA%3E%26nbsp%3BHello%20David%2C%20just%20a%20heads%20up%20that%20Teams%20has%20it's%20own%20separate%20update%20process%20and%20is%20not%20associated%20with%20the%20update%20channels%20for%20M365%20Apps%20for%20enterprise%20(O365%20ProPlus).%20You%20can%20read%20all%20about%20it%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fteams-client-update%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fteams-client-update%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20for%20having%20the%20same%20version%20for%20all%20users%20that's%20quite%20difficult%20to%20achieve%2C%20at%20least%20from%20my%20experience%2C%20as%20you%20cannot%20control%20the%20updates%20the%20same%20way%20as%20with%20configuration%20manager%20for%20example.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAbout%20the%20missing%20'upload'%20folder%2C%20do%20they%20have%20the%20'background%22%20folder%3F%20I%20believe%20it's%20created%20the%20first%20time%20you%20actually%20use%20the%20%22background%20feature%22%20in%20Teams.%20Anyway%2C%20the%20most%20recent%20update%20from%20the%20Teams%20download%20page%20is%20version%26nbsp%3B1.3.00.12058%20(just%20downloaded%20it).%20You%20could%20push%20that%20one%20out%20if%20it's%20applicable.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGood%20luck!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1400731%22%20slang%3D%22en-US%22%3ERe%3A%20Push%20files%20to%20Teams%20Custom%20Background%20Upload%20folder%20-%20Get%20the%20New%20Teams%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1400731%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F551905%22%20target%3D%22_blank%22%3E%40bec064%3C%2FA%3E%26nbsp%3Bthank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20two%20scenarios%20of%20the%20missing%20Change%20Background%26nbsp%3Bfeature.%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%2C%20%3CU%3Esome%3C%2FU%3E%20of%20our%20%3CU%3Elaptops%3C%2FU%3E%20are%20missing%20it.%20They%20Do%20have%20the%20Blur%20Background%20feature%20(so%20I%20guess%20it's%20not%20an%20issue%20of%20missing%20CPU%20AVX2%20feasure%20set%2C%20I%20saw%20other%20publications%20from%20you%20on%20that).%20Also%20they%20are%20on%20version%201.3.00.12058%20which%20is%20the%20latest.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESecond%2C%20%3CU%3Eall%20VDIs%3C%2FU%3E%20we%20sampled%20are%20missing%20it.%20They%20all%20Do%20have%20the%20Blur%20Background%20feature.%20We%20use%20Azure%20VMs%20accessed%20via%20Citrix%20as%20our%20VDIs.%20Also%20using%20the%20same%20latest%20Teams%20version%201.3.00.12058.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20now%20I%20understand%20we%20probably%20have%20the%20latest%20version%2C%20and%20also%20read%20that%20in%20the%20link%20you%20provided.%20Therefore%20looking%20for%20what%20condition%20is%20preventing%20some%20Teams%20clients%20from%20offering%20the%20feature.%20It's%20not%20the%20CPU%20AVX2%20feature%20set%2C%20all%20our%20laptops%20are%20top%20of%20the%20line%20i5%2Fi7%20and%201-2%20years%20old.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThoughts%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20very%20much%2C%3C%2FP%3E%3CP%3ERegards%2C%20David.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1400829%22%20slang%3D%22en-US%22%3ERe%3A%20Push%20files%20to%20Teams%20Custom%20Background%20Upload%20folder%20-%20Get%20the%20New%20Teams%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1400829%22%20slang%3D%22en-US%22%3EHello%2C%20on%20mobile%20so%20will%20be%20short.%20As%20far%20as%20I%20know%20it%20is%20not%20supported%20in%20VDI.%20As%20for%20the%20laptops%20have%20you%20done%20any%20troubleshooting%3F%20Such%20manual%20update%2C%20deletion%20of%20Teams%20cache%2C%20sign%20out%2Fsign%20in%2C%20reinstallation%3F%20It%E2%80%99s%20obviously%20enabled%20for%20your%20tenant%20so%20I%20would%20focus%20on%20the%20laptops%20that%20are%20missing%20the%20custom%20background%20feature.%20Let%20me%20know%20how%20it%20goes!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1403854%22%20slang%3D%22en-US%22%3ERe%3A%20Push%20files%20to%20Teams%20Custom%20Background%20Upload%20folder%20-%20Get%20the%20New%20Teams%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1403854%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F634820%22%20target%3D%22_blank%22%3E%40David_Dudi_Yacouel%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20update%2C%20I%20did%20mention%20the%20creation%20of%20the%20folder%20in%20a%20previous%20reply%20to%20you%20%3B)%3C%2Fimg%3E%20But%20great%20that%20you%20now%20have%20verified%20it%20as%20well.%20Good%20luck%20with%20the%20process!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1403815%22%20slang%3D%22en-US%22%3ERe%3A%20Push%20files%20to%20Teams%20Custom%20Background%20Upload%20folder%20-%20Get%20the%20New%20Teams%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1403815%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F551905%22%20target%3D%22_blank%22%3E%40bec064%3C%2FA%3E%26nbsp%3Bthank%20you%20for%20the%20advice.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20my%20update%20with%20findings%3A%3C%2FP%3E%3CP%3E-%20our%20laptops%20and%20VDIs%20all%20received%20Teams%20version%201.3.00.12058%20on%20various%20dates%20early%20May%20(ranging%20from%205%2F4%20to%205%2F8%20on%20the%20small%20group%20I%20sampled).%3C%2FP%3E%3CP%3E-%20Those%20that%20have%20that%20version%20do%20have%20the%20feature%20of%20Select%20Custom%20Background.%3C%2FP%3E%3CP%3E-%20Our%20problem%20was%20that%20we%20wanted%20to%20push%20(from%20Azure%20Intune%20to%20all%20company%20laptops)%20some%20company-branded%20background%20images%20to%20the%20designated%20folder%20for%20Teams%3A%26nbsp%3B%25AppData%25%5CMicrosoft%5CTeams%5CBackgrounds%5CUploads.%20But%20that%20folder%20did%20not%20exist%20for%20everyone%2C%20only%20for%20some.%20We%20then%20concluded%20(wrongly)%20that%20some%20users%20did%20not%20have%20the%20feature.%3C%2FP%3E%3CP%3E-%20Turns%20out%2C%20the%20feature%20exists%20for%20everyone%2C%20but%20%3CSTRONG%3Eit%20only%20creates%20the%20Backgrounds%20folder%20and%20the%20Uploads%20folder%20in%20it%20upon%20first%20use%20of%20the%20Show%20Background%20Effects%20feature%3C%2FSTRONG%3E%20from%20the%203dot%20(...)%20menu%20in%20the%20meeting.%20When%20clicking%20any%20of%20the%20backgrounds%20offered%20by%20Teams%20(just%20click%2C%20not%20even%20need%20to%20actually%20use%20it)%20that%20background%20image%20PNG%20file%20is%20then%20placed%20in%20the%20Backgrounds%20folder.%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Therefore%20we%20are%20changing%20our%20script%20to%20also%20create%20the%20folder%20structure%20first%2C%20in%20case%20it%20does%20not%20exist%20yet%20(if%20the%20user%20did%20not%20try%20this%20feature%20yet)%2C%20and%20only%20then%20copy%20the%20files%20in%20there.%20This%20way%20it%20will%20not%20fail%20on%20not%20finding%20the%20folder.%20Furthermore%2C%20when%20the%20user%20ever%20wants%20to%20use%20it%2C%20it%20will%20be%20there%20ready%20and%20waiting%20for%20them.%3C%2FP%3E%3CP%3E-%20For%20all%20this%20to%20work%2C%20naturally%20Teams%20has%20to%20be%20on%20it's%20latest%20version%20(or%20at%20least%20the%20one%20that%20supports%20it).%20Click%20the%20user%20icon%20on%20the%20Teams%20window%20top%20right%20(with%20your%20initials%20or%20picture)%2C%20and%20choose%20Check%20For%20Updates%20to%20get%20the%20latest%20Teams%20version.%20It%20might%20take%20a%20bit%2C%20minutes%20or%20an%20hour%20to%20go%2C%20I%20am%20not%20sure.%20If%20you%20don't%20initiate%20it%20yourself%2C%20Microsoft%20documents%20that%20the%20Teams%20desktop%20app%20does%20that%20automatically%20every%20few%20hours%2C%20and%20even%20the%20admin%20doesn't%20have%20control%20of%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20now%20we%20understand%20it%20was%20not%20about%20O365%20versions%20and%20upgrade%20paths.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F551905%22%20target%3D%22_blank%22%3E%40bec064%3C%2FA%3E%26nbsp%3B-%20your%20blessing%2Fvalidation%20of%20the%20findings%20will%20help%20the%20crowds%20here%2C%20I'm%20sure.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%20David.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hello,

 

We'd like to push our company-branded background to everyone's laptops in the company. So we know we have to put the files in the folder %AppData%\Microsoft\Teams\Backgrounds\Uploads, and created an Intune app to copy the files to this folder on everyone's laptops. But for some users it is failing because they don't have that folder, and apparently their Teams app does not have the feature yet, it only has the older feature of Blur the background.

 

So we checked the Teams desktop app version, they are all v1.3.xxx, so it's not that. I guess the actual Teams executable is just a framework, like a browser or something, and the content/logic is controlled by something else?

 

How do we make sure everyone in the company are at the latest Teams version? Specifically, the April 2020 version that we understand included this new feature of selecting the background. 

 

We noticed that those users/laptops that don't have the new Teams features also have an older Office 365 version, which kinda' makes sense because Teams is part of Office. These users' laptops are on the Semi-Annual channel and have O365 version 1908 (we checked in Outlook), whereas the ones with the new Teams features are on the Monthly channel with version 2004.
Is that it for Teams features?

 

Thank you,

David. 

10 Replies
Highlighted

@David_Dudi_Yacouel Hello David, just a heads up that Teams has it's own separate update process and is not associated with the update channels for M365 Apps for enterprise (O365 ProPlus). You can read all about it here https://docs.microsoft.com/en-us/microsoftteams/teams-client-update

 

As for having the same version for all users that's quite difficult to achieve, at least from my experience, as you cannot control the updates the same way as with configuration manager for example.

 

About the missing 'upload' folder, do they have the 'background" folder? I believe it's created the first time you actually use the "background feature" in Teams. Anyway, the most recent update from the Teams download page is version 1.3.00.12058 (just downloaded it). You could push that one out if it's applicable.

 

Good luck!

Highlighted

@bec064 thank you for your reply.

 

We have two scenarios of the missing Change Background feature. 

First, some of our laptops are missing it. They Do have the Blur Background feature (so I guess it's not an issue of missing CPU AVX2 feasure set, I saw other publications from you on that). Also they are on version 1.3.00.12058 which is the latest.

 

Second, all VDIs we sampled are missing it. They all Do have the Blur Background feature. We use Azure VMs accessed via Citrix as our VDIs. Also using the same latest Teams version 1.3.00.12058.

 

So now I understand we probably have the latest version, and also read that in the link you provided. Therefore looking for what condition is preventing some Teams clients from offering the feature. It's not the CPU AVX2 feature set, all our laptops are top of the line i5/i7 and 1-2 years old. 

 

Thoughts?

 

Thank you very much,

Regards, David.

Highlighted
Hello, on mobile so will be short. As far as I know it is not supported in VDI. As for the laptops have you done any troubleshooting? Such manual update, deletion of Teams cache, sign out/sign in, reinstallation? It’s obviously enabled for your tenant so I would focus on the laptops that are missing the custom background feature. Let me know how it goes!
Highlighted
Best Response confirmed by David_Dudi_Yacouel (Occasional Contributor)
Solution

@bec064 thank you for the advice.

 

Here is my update with findings:

- our laptops and VDIs all received Teams version 1.3.00.12058 on various dates early May (ranging from 5/4 to 5/8 on the small group I sampled).

- Those that have that version do have the feature of Select Custom Background.

- Our problem was that we wanted to push (from Azure Intune to all company laptops) some company-branded background images to the designated folder for Teams: %AppData%\Microsoft\Teams\Backgrounds\Uploads. But that folder did not exist for everyone, only for some. We then concluded (wrongly) that some users did not have the feature.

- Turns out, the feature exists for everyone, but it only creates the Backgrounds folder and the Uploads folder in it upon first use of the Show Background Effects feature from the 3dot (...) menu in the meeting. When clicking any of the backgrounds offered by Teams (just click, not even need to actually use it) that background image PNG file is then placed in the Backgrounds folder. 

- Therefore we are changing our script to also create the folder structure first, in case it does not exist yet (if the user did not try this feature yet), and only then copy the files in there. This way it will not fail on not finding the folder. Furthermore, when the user ever wants to use it, it will be there ready and waiting for them.

- For all this to work, naturally Teams has to be on it's latest version (or at least the one that supports it). Click the user icon on the Teams window top right (with your initials or picture), and choose Check For Updates to get the latest Teams version. It might take a bit, minutes or an hour to go, I am not sure. If you don't initiate it yourself, Microsoft documents that the Teams desktop app does that automatically every few hours, and even the admin doesn't have control of that.

 

So now we understand it was not about O365 versions and upgrade paths. 

 

@bec064 - your blessing/validation of the findings will help the crowds here, I'm sure.

 

Regards, David.

Highlighted

@David_Dudi_Yacouel Thanks for the update, I did mention the creation of the folder in a previous reply to you ;) But great that you now have verified it as well. Good luck with the process!

Highlighted

@bec064 yes you definitely mentioned that, so we went and verified and used it. My last post serves as a summary so far, for future use. Thanks for staying close on this!

Highlighted

@David_Dudi_Yacouel Hi, Can you please help me with the script you used for your setup, I am trying to work on this and have no idea on where to start

Highlighted

@Naruto Hi,

The laptops in scope are not part of a company domain, but they are managed with Azure Intune.

 

So we are using Intune to push this script to all these laptops, and execute it. Here is the Intune setup.

Intune push script.jpg

 

Here is the script. We put all the background images on a cloud server that is accessible to all laptops. The script copies the files from the server to the local Upload folder for Teams, on the laptop.

The script also creates the path to the Upload folder because, as described in previous post, that folder is only created upon first use of the feature, so it might not exist yet.

 

# created directory if it doesnt exists
if (!(get-item "$env:appdata\microsoft"                           -ErrorAction SilentlyContinue)) {new-item -ItemType Directory -Path "$env:appdata\microsoft"}
if (!(get-item "$env:appdata\microsoft\teams"                     -ErrorAction SilentlyContinue)) {new-item -ItemType Directory -Path "$env:appdata\microsoft\teams"}
if (!(get-item "$env:appdata\microsoft\teams\backgrounds"         -ErrorAction SilentlyContinue)) {new-item -ItemType Directory -Path "$env:appdata\microsoft\teams\backgrounds"}
if (!(get-item "$env:appdata\microsoft\teams\backgrounds\uploads" -ErrorAction SilentlyContinue)) {new-item -ItemType Directory -Path "$env:appdata\microsoft\teams\backgrounds\uploads"}

# make array for html files and local locations
$Images = @(('https://someservername.blob.core.windows.net/companyimages/backgrounds/filename06.png?sv=2019-10-10&ss=bf&srt=o&sp=r&se=2030-01-02T02:01:41Z&st=2020-05-20T17:01:41Z&spr=https&sig=rKw81pcgRyC8yrnJwpbLDuYKmfo27KKBRvq3%2Bu1EpRo%3D',`
"$env:appdata\microsoft\teams\backgrounds\uploads\filename06.png")`
,('https://someservername.blob.core.windows.net/companyimages/backgrounds/filename08.png?sv=2019-10-10&ss=bf&srt=o&sp=r&se=2030-01-02T02:01:41Z&st=2020-05-20T17:01:41Z&spr=https&sig=rKw81pcgRyC8yrnJwpbLDuYKmfo27KKBRvq3%2Bu1EpRo%3D',`
"$env:appdata\microsoft\teams\backgrounds\uploads\filename08.png"),`
('https://someservername.blob.core.windows.net/companyimages/backgrounds/filename09.png?sv=2019-10-10&ss=bf&srt=o&sp=r&se=2030-01-02T02:01:41Z&st=2020-05-20T17:01:41Z&spr=https&sig=rKw81pcgRyC8yrnJwpbLDuYKmfo27KKBRvq3%2Bu1EpRo%3D',`
"$env:appdata\microsoft\teams\backgrounds\uploads\filename09.png"),`
('https://someservername.blob.core.windows.net/companyimages/backgrounds/filename10.png?sv=2019-10-10&ss=bf&srt=o&sp=r&se=2030-01-02T02:01:41Z&st=2020-05-20T17:01:41Z&spr=https&sig=rKw81pcgRyC8yrnJwpbLDuYKmfo27KKBRvq3%2Bu1EpRo%3D',`
"$env:appdata\microsoft\teams\backgrounds\uploads\filename10.png")`
)

# copy the files to their destination
foreach ($item in $images) {
if (!(get-item $item[1] -ErrorAction SilentlyContinue)) {(New-Object System.Net.WebClient).DownloadFile($item[0], $item[1])}
} 

 

You can do that in other ways, too.

I hope that helps.

David.

Highlighted

@David_Dudi_Yacouel  Thanks for your time and reply David, am trying to push it via GPO for our users in my company, can we also do the above via GPO ? hope it will work too any idea on this.

Highlighted

@Naruto Hi, yes, I expect it to work.

The delivery method of the script is different, whether Intune in my case or a GPO in your case, but both can trigger executing the script on the device. Make sure there are adequate rights to running the script, though it doesn't have sensitive action in it anyway.

As for the content of the script, I assume you will not need to change much (except for file names and links, of course).

However, if your devices are inside a company network then you can place the image files on a server inside the network, too, and not require to use a server on the internet and copy from there like we did.

Good luck.