Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

System.InvalidCastException when you change passwords in Outlook on the web in Exchange Server 2019 and 2016


View products that this article applies to.

Symptoms

Users who are assigned the RBAC role type MyMailboxDelegation are unable to change their passwords through Outlook on the web in Microsoft Exchange Server 2019 or Exchange Server 2016. In addition, an exception is recorded:

Method invocation target threw an exception: System.InvalidCastException: Unable to cast object of type 'Microsoft.Exchange.Data.Directory.ADRawEntry' to type 'Microsoft.Exchange.Data.Directory.ADObject'

↑ Back to the top


Resolution

To fix this issue, install one of the following updates:

↑ Back to the top


References

Learn about the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: CI122127, kbHotfixAuto, system.invalidcastexception when changing passwords in owa, kbqfe, kbfix, kb

↑ Back to the top

Article Info
Article ID : 4576649
Revision : 7
Created on : 9/15/2020
Published on : 9/15/2020
Exists online : False
Views : 226