Hello,
I know this is an on-premise question but I am stuck! I am trying to accumulate a list of users with their managers all their "Send-As, On-Behalf-Of, etc. permissions. The script is below this paragraph. When I run the script all get is this error below. I have Admin rights to the Exchange Servers and Windows Server 2008 R2. Can someone tell me why I get this error? I need to create the list before I migrate.
WARNING: The object domain/Corporate/location/user name has been corrupted, and it's in an inconsistent state. The following validation errors happened:
WARNING: The access control entry defines the ObjectType 'bunch of letters/numbers' that can't be resolved..
Get-Mailbox -database "DatabaseName" -ResultSize Unlimited | Get-ADPermission | Where{($_.ExtendedRights -like "*Send-As*") -and -not ($_.User -like "NT AUTHORITY\SELF")} | ft Identity,User
Thank you,
the Rose