Issue: When users attempt to change their password via OWA they are redirected to “https://exchange/owa/lang.owa” and then receive an http “400 Bad Request”
After clicking “ok” user received “Bad Request” in the browser:
Cause:
Users experiencing the issue are showing blank Time Zone and Language settings:
You query the same settings for users that do not have the change password issue and determine their Time Zone and Language settings are populated:
Resolution:
1) It’s possible the default Time Zone and Language settings are not set on the CAS server. New users inherit the defaults and in theory if users do not have settings in place these will be used according to Exchange Time Zone / Language inheritance:
Set-OwaVirtualDirectory -identity “Owa (Default Web Site)” -LogonAndErrorLanguage 1033
Set-OwaVirtualDirectory -identity “Owa (Default Web Site)” -DefaultClientLanguage 1033
2) The above commands was a step in the right direction, but did not resolve my issue for users with blank settings. Additional fix for users w/ blank language or time zone settings:
Test the fix on just one user (corrects the time zone and language for a single user):
Set-MailboxRegionalConfiguration -Identity test10 -Language en-us -TimeZone “Pacific Standard Time”
Re-check the settings of the test10 account after applying the Time Zone and Language:
Next test to see if users password can be changed through Outlook Web Access, in our case it was working for our test user:
Apply ‘the fix’ to all users (cycles through all mailboxes, and sets the Time Zone and Language):
Get-Mailbox -ResultSize unlimited -Filter {RecipientTypeDetails -eq ‘UserMailbox’} | Set-MailboxRegionalConfiguration -TimeZone “Pacific Standard Time” -Language en-us
Resources:
Microsoft Language Codes list:
https://technet.microsoft.com/en-us/library/aa997435(v=exchg.141).aspx
Hi Brian, I would first focus on getting the query/filter to work and output results in EMC, and then go for the complete command. Try just:
Get-Mailbox -ResultSize unlimited -Filter {RecipientTypeDetails -eq ‘UserMailbox’}
Sometimes copy and paste messes up the single quote so you may want to hand-type the ‘usermailbox’ part
Great – I can fix a user by typing in the ID but the global “fix everyone” doesn’t work I get a unable to bind filter error
Great information. Had this same sort of issue where a user was unable to set out of office rules from OWA and this fixed it. Sure enough, the user didn’t have a time zone or Language attributes.
Thanks. This saved a lot of work and frustration.