Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

Changing display name in the Admin Panel does not reflect in the Teams Windows Desktop Client

%3CLINGO-SUB%20id%3D%22lingo-sub-730711%22%20slang%3D%22en-US%22%3EChanging%20display%20name%20in%20the%20Admin%20Panel%20does%20not%20reflect%20in%20the%20Teams%20Windows%20Desktop%20Client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-730711%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Teams%20Community%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20recently%20stumbled%20upon%20this%20issue%20when%20changing%20an%20user%20last%20name%2C%20the%20Microsoft%20Teams%20Client%20doesn't%20get%20updated%20accordingly.%20When%20opening%20the%20Teams%20Web%20Application%20and%20Teams%20Android%20Mobile%20App%2C%20the%20name%20is%20shown%20correctly.%20The%20issue%20only%20occurs%20in%20the%20Microsoft%20Teams%20Client%20for%20Windows.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20deleting%20the%20Cache%20and%20Databases%20from%20the%20Application%20Data%20folder%20the%20information%20gets%20%22Refreshed%22%20and%20the%20Display%20Name%20gets%20updated%20accordingly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20the%20Script%20I%20used%20to%20delete%20the%20folders%3A%3C%2FP%3E%3CBR%20%2F%3E%20%24VerbosePreference%20%3D%20%22Continue%22%3CBR%20%2F%3E%3CBR%20%2F%3E%23%20Force%20Close%20any%20Teams%20Process%3CBR%20%2F%3EGet-Process%20-Name%20%22Teams%22%20%7C%20Stop-Process%20-Force%3CBR%20%2F%3E%3CBR%20%2F%3E%23%20Get%20Microsoft%20Teams%20Paths%3CBR%20%2F%3E%24TeamsRemovePath%20%3D%20%40()%3CBR%20%2F%3E%24TeamsRemovePath%20%2B%3D%20Join-Path%20-Path%20(%5BEnvironment%5D%3A%3AGetFolderPath('ApplicationData'))%20-ChildPath%20(%22Microsoft%5CTeams%5CCache%22)%3CBR%20%2F%3E%24TeamsRemovePath%20%2B%3D%20Join-Path%20-Path%20(%5BEnvironment%5D%3A%3AGetFolderPath('ApplicationData'))%20-ChildPath%20(%22Microsoft%5CTeams%5Cdatabases%22)%3CBR%20%2F%3E%24TeamsRemovePath%20%2B%3D%20Join-Path%20-Path%20(%5BEnvironment%5D%3A%3AGetFolderPath('ApplicationData'))%20-ChildPath%20(%22Microsoft%5CTeams%5CIndexedDB%22)%3CBR%20%2F%3E%24TeamsRemovePath%20%2B%3D%20Join-Path%20-Path%20(%5BEnvironment%5D%3A%3AGetFolderPath('ApplicationData'))%20-ChildPath%20(%22Microsoft%5CTeams%5CLocal%20Storage%22)%3CBR%20%2F%3E%3CBR%20%2F%3E%23%20Remove%20items%3CBR%20%2F%3ERemove-Item%20-Path%20%24TeamsRemovePath%20-Recurse%20-Force%20-Verbose%3CBR%20%2F%3E%20%26nbsp%3B%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-730711%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eissue%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-730754%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20display%20name%20in%20the%20Admin%20Panel%20does%20not%20reflect%20in%20the%20Teams%20Windows%20Desktop%20Client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-730754%22%20slang%3D%22en-US%22%3EYeah%2C%20this%20sound%20like%20a%20normal%20cache%20thing!%20Have%20you%20tried%20to%20do%20a%20full%20logout%20first%20before%20running%20the%20script%3F%3F%20That%20usually%20clears%20the%20cache%20also%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-730787%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20display%20name%20in%20the%20Admin%20Panel%20does%20not%20reflect%20in%20the%20Teams%20Windows%20Desktop%20Client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-730787%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F72542%22%20target%3D%22_blank%22%3E%40adam%20deltinger%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Adam%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20I've%20tried%20to%20logout%2C%20reboot%2C%20upgrade%20to%20latest%20version%20and%20the%20issue%20is%20already%20a%20week%20old%2C%20so%20it%20is%20persistent.%20All%20other%20team%20members%20within%20this%20group%20have%20the%20same%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20also%20cleared%20the%20cache%20and%20the%20databases%20folder%2C%20it%20did%20not%20help%2C%20after%20deleting%20the%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3EIndexedDB%20and%20Local%20Storage%20folder%20the%20issue%20was%20resolved.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EBest%20Regards%2C%3CBR%20%2F%3EGlenn%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1446009%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20display%20name%20in%20the%20Admin%20Panel%20does%20not%20reflect%20in%20the%20Teams%20Windows%20Desktop%20Client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1446009%22%20slang%3D%22en-US%22%3EThis%20happened%20to%20my%20MS%20Teams%20application%20on%20android.%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20display%20name%20is%20changed%20in%20admin%20panel%20but%20bot%20in%20my%20ms%20team%20app.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1474477%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20display%20name%20in%20the%20Admin%20Panel%20does%20not%20reflect%20in%20the%20Teams%20Windows%20Desktop%20Client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1474477%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F212869%22%20target%3D%22_blank%22%3E%40Glenn%20Goffin%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20post%2C%20we%20are%20suffering%20exactly%20the%20same%20problem.%26nbsp%3B%20I'm%20not%20a%20sys%20admin%20but%20am%20having%20to%20administer%20a%20very%20small%20Team%20for%20for%20our%20company%20to%20implement%20remote%20working.%26nbsp%3B%20Could%20you%20kindly%20give%20me%20clue%20as%20to%20how%20to%20run%20your%20script%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20for%20asking%20such%20an%20ignorant%20question.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1824495%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20display%20name%20in%20the%20Admin%20Panel%20does%20not%20reflect%20in%20the%20Teams%20Windows%20Desktop%20Client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1824495%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F212869%22%20target%3D%22_blank%22%3E%40Glenn%20Goffin%3C%2FA%3E%26nbsp%3BThank%20you!%20This%20updated%20the%20user's%20name%20in%20Microsoft%20Teams%20on%20their%20end.%26nbsp%3B%20Do%20you%20know%20if%20there%20is%20a%20way%20to%20force%20Microsoft%20Teams%20to%20update%20that%20user's%20name%20for%20everybody%20else%20in%20Teams%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2169021%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20display%20name%20in%20the%20Admin%20Panel%20does%20not%20reflect%20in%20the%20Teams%20Windows%20Desktop%20Client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2169021%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F212869%22%20target%3D%22_blank%22%3E%40Glenn%20Goffin%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EJust%20an%20update.%26nbsp%3B%20As%20of%20version%201.4.00.4167%20(64%20bit)%2C%20the%20issue%20can%20be%20resolved%20with%20a%20login%20and%20a%20logout.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2280504%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20display%20name%20in%20the%20Admin%20Panel%20does%20not%20reflect%20in%20the%20Teams%20Windows%20Desktop%20Client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2280504%22%20slang%3D%22en-US%22%3ECan%20confirm%20that%20this%20does%20indeed%20work.%20Just%20logout%20of%20the%20Teams%20application%20and%20log%20back%20in.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello Teams Community,

 

I recently stumbled upon this issue when changing an user last name, the Microsoft Teams Client doesn't get updated accordingly. When opening the Teams Web Application and Teams Android Mobile App, the name is shown correctly. The issue only occurs in the Microsoft Teams Client for Windows.

 

When deleting the Cache and Databases from the Application Data folder the information gets "Refreshed" and the Display Name gets updated accordingly.

 

Here is the Script I used to delete the folders:


$VerbosePreference = "Continue"

# Force Close any Teams Process
Get-Process -Name "Teams" | Stop-Process -Force

# Get Microsoft Teams Paths
$TeamsRemovePath = @()
$TeamsRemovePath += Join-Path -Path ([Environment]::GetFolderPath('ApplicationData')) -ChildPath ("Microsoft\Teams\Cache")
$TeamsRemovePath += Join-Path -Path ([Environment]::GetFolderPath('ApplicationData')) -ChildPath ("Microsoft\Teams\databases")
$TeamsRemovePath += Join-Path -Path ([Environment]::GetFolderPath('ApplicationData')) -ChildPath ("Microsoft\Teams\IndexedDB")
$TeamsRemovePath += Join-Path -Path ([Environment]::GetFolderPath('ApplicationData')) -ChildPath ("Microsoft\Teams\Local Storage")

# Remove items
Remove-Item -Path $TeamsRemovePath -Recurse -Force -Verbose

 

 

 

8 Replies
Yeah, this sound like a normal cache thing! Have you tried to do a full logout first before running the script?? That usually clears the cache also

@adam deltinger 

Hi Adam,

 

Yes, I've tried to logout, reboot, upgrade to latest version and the issue is already a week old, so it is persistent. All other team members within this group have the same issue. 

 

I've also cleared the cache and the databases folder, it did not help, after deleting the 

IndexedDB and Local Storage folder the issue was resolved.
 
Best Regards,
Glenn

 

This happened to my MS Teams application on android.

My display name is changed in admin panel but bot in my ms team app.

@Glenn Goffin 

Thanks for your post, we are suffering exactly the same problem.  I'm not a sys admin but am having to administer a very small Team for for our company to implement remote working.  Could you kindly give me clue as to how to run your script?

 

Sorry for asking such an ignorant question.

 

Many thanks

 

Peter

@Glenn Goffin Thank you! This updated the user's name in Microsoft Teams on their end.  Do you know if there is a way to force Microsoft Teams to update that user's name for everybody else in Teams?

@Glenn Goffin 

Just an update.  As of version 1.4.00.4167 (64 bit), the issue can be resolved with a login and a logout.

Can confirm that this does indeed work. Just logout of the Teams application and log back in.
Hey guy,
I was also Facing the same issues, like i updated my display name from admin center and it was not reflecting only in Teams other office apps were fine.

Solutions:

delete teams

Clear advance history from
internet explorer (Important Step)
and from any other browser you have in you system.

Clear temps Steps:
1. %appdata%\Microsoft\Teams <-- in this location
2. Delete files from this folders : Blob_Storage , Cache, Databases, GPUCache, IndexedDB, LocalStorage, Logs, Tmp(if folder is present*).

After clearing perform below commands

Run PowerShell as an admin:
1. " Install-Module MSOnline "

2. " Connect-MsolService "

Then run the below to get the users current name
**change "garfield@odie.net" to you email**
3. " Get-MsolUser -UserPrincipalName garfield@odie.net "

Now what we need to do is we will change the display name to something temporarily and after that we will change it back to what you want.

4. so first lets run below code with a temp name
Set-MsolUser -UserPrincipalName garfield@odie.net -DisplayName "Garfield_TEMP"
<--- then enter temp name

Note: After this step please check that the temporary name is reflected in every WEB application .
(Clear history from every browser again)

5. Now we use the same (4) script to change the display name to what you want.
Set-MsolUser -UserPrincipalName garfield@odie.net -DisplayName "Garfield"

And you are done....
Now clear caches Again...

Download latest Teams and install as usual.