EASYENTRA Blog

News & Updates

Using Set-MailboxRegionalConfiguration in Exchange Online PowerShell

How to configure regional settings correctly.

When managing mailboxes in Exchange Online, especially in multinational organizations, setting the correct regional settings is critical. One of the cmdlets used for this is Set-MailboxRegionalConfiguration. However, administrators often encounter errors related to incorrect DateFormat and TimeFormat settings.

Common Errors

When running Set-MailboxRegionalConfiguration, you might see errors similar to these:

Ex328A48|Microsoft.Exchange.Data.DataValidationException|DateFormat "dd/MM/yyyy"
  isn't valid for current language setting "en-US". 
Valid formats include "M/d/yyyy, M/d/yy, MM/dd/yy, MM/dd/yyyy, yy/MM/dd, yyyy-MM-dd, dd-MMM-yy".

Or:

Ex402B93|Microsoft.Exchange.Data.DataValidationException|The TimeFormat "h:mm tt"
  isn't valid for current language setting "da-DK".
Valid formats include "HH:mm, H:mm".

Why Do These Errors Occur?

These errors happen when the DateFormat or TimeFormat you set does not match what is allowed for the selected language (Locale) of the mailbox.

Here are some examples:

United States (en-US):

  • Expected DateFormat: MM/dd/yyyy
  • Expected TimeFormat: h:mm tt (e.g., 2:30 PM)

United Kingdom (en-GB):

  • Expected DateFormat: dd/MM/yyyy
  • Expected TimeFormat: HH:mm (24-hour clock)

Denmark (da-DK):

  • Expected DateFormat: dd-MM-yyyy
  • Expected TimeFormat: HH:mm (24-hour clock)

Germany (de-DE):

  • Expected DateFormat: dd.MM.yyyy
  • Expected TimeFormat: HH:mm (24-hour clock)

Spain (es-ES):

  • Expected DateFormat: dd/MM/yyyy
  • Expected TimeFormat: H:mm (24-hour clock)

France (fr-FR):

  • Expected DateFormat: dd/MM/yyyy
  • Expected TimeFormat: HH:mm

Netherlands (nl-NL):

  • Expected DateFormat: dd-MM-yyyy (e.g., 28-04-2025)
  • Expected TimeFormat: HH:mm (24-hour clock)

How to Localize the Mailbox Using a Simple UI

With EasyEntra, first-level support teams can easily view and configure the mailbox localization.

The setting is available on any mailbox-enabled hybrid or cloud-only user account: Simply, open user properties and go to the Mailbox tab.

Changing the mailbox regional settings will require a restart of OWA/Outlook before the menu items change to the new language setting.

A change in the folder localization takes place immediately as seen here:

PowerShell Alternative (Not Optimal for First-Level Support)

If you prefer using PowerShell, use the following PowerShell commands to set the correct DateFormat and TimeFormat on the mailbox.

Example for US:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "en-US"
  -DateFormat "MM/dd/yyyy" -TimeFormat "h:mm tt"

Example for UK:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language" "en-GB" 
  -DateFormat "dd/MM/yyyy" -TimeFormat "HH:mm"

Example for Germany:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "de-DE"
  -DateFormat "dd.MM.yyyy" -TimeFormat "HH:mm"

Example for Spain:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "es-ES"
  -DateFormat "dd/MM/yyyy" -TimeFormat "H:mm"

Example for France:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "fr-FR"
  -DateFormat "dd/MM/yyyy" -TimeFormat "HH:mm"

Example for Netherlands:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "nl-NL"
  -DateFormat "dd-MM-yyyy" -TimeFormat "HH:mm"

Using the -LocalizeDefaultFolderName switch will update these folder names to match the new language settings.

Default system folders that are renamed:

Inbox

Sent Items

Drafts

Deleted Items

Junk Email

Outbox

Calendar

Contacts

If you switch from English (en-US) to Danish (da-DK):
  • “Inbox” becomes “Indbakke”
  • “Sent Items” becomes “Sendt post”
If you switch from English (en-US) to French (fr-FR):
  • “Inbox” becomes “Boîte de réception”
  • “Sent Items” becomes “Éléments envoyés”
If you switch from English (en-US) to German (de-DE):
  • “Inbox” becomes “Posteingang”
  • “Sent Items” becomes “Gesendete Elemente”
If you switch from English (en-US) to Spanish (es-ES):
  • “Inbox” becomes “Bandeja de entrada”
  • “Sent Items” becomes “Elementos enviados”
If you switch from English (en-US) to Dutch (nl-NL):
  • “Inbox” becomes “Postvak IN”
  • “Sent Items” becomes “Verzonden items”

Example for Denmark:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "da-DK"
  -DateFormat "dd-MM-yyyy" -TimeFormat "HH:mm" -LocalizeDefaultFolderName

Example for France:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "fr-FR"
  -DateFormat "dd/MM/yyyy" -TimeFormat "HH:mm" -LocalizeDefaultFolderName" -TimeFormat "HH:mm"

Example for Germany:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "de-DE"
  -DateFormat "dd.MM.yyyy" -TimeFormat "HH:mm" -LocalizeDefaultFolderNamee

Example for Spain:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "es-ES"
  -DateFormat "dd/MM/yyyy" -TimeFormat "H:mm" -LocalizeDefaultFolderName

Example for Dutch:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "nl-NL"
  -DateFormat "dd-MM-yyyy" -TimeFormat "HH:mm"

Example for UK:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "en-GB"
  -DateFormat "dd/MM/yyyy" -TimeFormat "HH:mm" -LocalizeDefaultFolderName

Example for US:

Set-MailboxRegionalConfiguration -Identity "user@domain.com" -Language "en-US"
  -DateFormat "MM/dd/yyyy" -TimeFormat "h:mm tt" -LocalizeDefaultFolderName

This ensures that the user’s mailbox folders are properly localized, providing an optimal experience for the end user.

Conclusion

Correctly setting mailbox regional configurations is crucial for user satisfaction and operational efficiency. Using EasyEntra’s graphical interface makes it fast and error-free, while PowerShell remains a more advanced method for skilled admins.

By using EasyEntra, even first-level supporters without PowerShell skills can resolve regional settings issues quickly and accurately. This empowers a broader range of IT staff to handle tickets independently, reduces escalation rates, and leads to faster resolution times for end users.

In contrast, relying solely on PowerShell requires technical expertise and increases the risk of errors when configuring settings manually.

You can download a 30-day free trial of EasyEntra here.

To receive occasional updates, follow us on LinkedIn or Facebook.

For specific questions, please contact support.

Free 30-minute demo

try 30 days for free

GET EASYENTRA NEWS

Opt out at any time

“One of the best products I've used.”
Gary Shurland
Chief Information Officer, Mirick, United States
“This tool has been invaluable in streamlining our IT processes.”
Tyson Mckay
Chief Information Officer, Southwest Network, United States
“This product has been a miracle for our Help Desk. EasyEntra has completely transformed how we handle Microsoft 365 administration.”
Doug Sanders
Manager of Technical Customer Support, Junior Achievement USA, United States
“Your product is such a time saver. I love it!”
Scott Fehr
IT Infrastructure, MEC Aerial Work Platforms, United States
“It's a good product and saves us lots of time for these ongoing quick admin tasks.” 
Chris McFerran
Managing Director, CTech IT Solutions Ltd, United Kingdom
“EasyEntra has significantly streamlined our workflow, simplifying everything. It feels almost like a revolution.”
Johan Sadelius
IT-chef, Arjeplog Kommun, Sweden
I greatly appreciate your assistance and willingness to enhance the already outstanding product.”
Michael I. Wilson
Executive Director of Information Technology, Archdiocese Of Washington, United States
“It's great not having to switch back and forth between the O365 admin center and the Teams admin center to assign groups. I am sold!”
Thomas Madden
Director Information Technology, AutoPayPlus, United States
“I would highly recommend organizations use the solution as it greatly simplifies various tasks.”
S. Roger Singh
Chief Technology Officer, Prasad & Company LLP, Canada
“EasyEntra is time-saving. Love the copy/paste for user/computer groups and the copy to new user.”
Damian Nita
Associate Network Administrator, Shenandoah Valley Westminster-Canterbury, United States
“EasyEntra has transformed our daily IT operations by simplifying user management, reducing errors, and enhancing overall efficiency.”
Henrik Nefling
IT- and Digitalization Manager, Animal Protection Denmark, Denmark