We have several accounts for long term substitutes that are created with an expiration date on their account. We currently use Office 365 with ADConnect to sync the AD accounts.
The issue that I have found is that Office 365 ignores the accountExpires attribute and continues to allow access. The only way to stop access is to delete or disable the account. I've talked to Microsoft and they have said there are no plans to address it.
Has anyone else experienced this and found a workaround?