Share via

AdUser attribute change

Sophia 366 Reputation points
2021-04-30T18:48:29.977+00:00

Is it possible to view what attribute changed for an ADUser like for instance if there was an additional proxyaddress that was added and when it was added.

I'm aware of the following:

Get-AdreplicationAttributemetadat -object (Get-aduser user1) -server dc1.domain.com | where-object {$_.AttributeName -eq "ProxyAddresses"} | select-object -property AttributeName,AttributeValue,FirstOriginatingCreateTime,LastOriginatingtime,LastOriginatingChangeDirectoryServerIdentity.

The problem with that is that it doesn't really give the correct information that I'm are trying to get. I mean if I go into my Exchange Server and remove and an email address policy for a specific user and then go run my above mentioned script it will give me the date and time of the policy that was removed from the the user because email address policies update AD User's Proxyaddresses attribute without saying what was added/removed.

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.

Windows for business | Windows Server | User experience | PowerShell

1 answer

Sort by: Most helpful
  1. KyleXu-MSFT 26,406 Reputation points
    2021-05-03T02:29:46.03+00:00

    @Safs-3080

    If you remove an email address policy(@domain123.com) from a mailbox, the related proxy email address(@domain123.com) still exist on this mailbox, this email address will not be removed.

    From Exchange side, after enabling admin audit log, you can use it to check if admin add/delete proxy email address for a mailbox:
    93192-qa-kyle-10-15-56.png

    You can also check whether admin create/delete a new email address policy:
    93079-qa-kyle-10-17-24.png

    You can click on this one to check email address policy applied on which mailbox:
    93186-qa-kyle-10-28-33.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.