top of page
Tomas Bjerved

MS Teams show different time zone

Updated: Feb 21, 2023

If you experience that some of the users in your organization seems to be in a different time zone (this can be seen in Teams when you click on the users picture), the issue might be related to the calendar time zone. To check and fix this, you can use PowerShell. Here is the code you use:

# Enter your admin credentials
$user = "admin-user@domain.com"
$cred = get-credential -credential $user

# Connecting to EXO
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -credential $cred

# First we check that time zone of the user
Get-MailboxCalendarConfiguration -Identity "user@domain.com"

# In our case I got this as answer: tzone://Microsoft/Custom

# Then we set the time zone to the zone we want them to be in.
Set-MailboxCalendarConfiguration -Identity  "user@domain.com"
-WorkingHoursTimeZone "W. Europe Standard Time"

# End of script

You might have to wait some time to see the changes, I know that the cloud is a bit slow to update so I usually check for updates the next day.

34 views0 comments

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page