Wednesday, 2 December 2015

OWA - Your account has been disabled

In this post we’ll look at how to resolve the issue where OWA in Exchange 2013 or Exchange 2016 reports that your account has been disabled:

"X-OWA-Error: Microsoft.Exchange.Data.Storage.AccountDisabledException"


The first thing most people would do is to check that the AD account is actually enabled and would have found that the account is indeed enabled.

The problem is that this error message is quite misleading. The error relates to whether the mailbox has OWA enabled. To check this, we use the Get-CASMailbox cmdlet and specify the mailbox (the administrator mailbox in this case):

Get-CASMailbox administrator | fl Name,OWAEnabled


Here we see that OWA is actually disabled.

To enable OWA for the administrator mailbox, run this command:

Set-CASMailbox administrator -OWAEnabled:$true


Now when we try to log back into OWA, we can so that’s another issue resolved:


Hopefully this helps you out.