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
Highlighted
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

 

 

 

4 Replies
Highlighted
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
Highlighted

@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

 

Highlighted
This happened to my MS Teams application on android.

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

@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