O365 Sync Issues After On-Premises Exchange Decommissioning

Anthony Shaw 0 Reputation points
2025-02-13T21:44:08.6+00:00

In a transition from a Hybrid environment to nearly full cloud usage, the on-premises Exchange was shut down due to security concerns, following documentation and recommendations while leaving the schema intact.

Currently facing issues managing user email attributes for the second time. In this scenario, attempting to add my Global Admin (so i can get admin emails) to a regular email address has resulted in an error indicating that the attribute is managed on-premises. The on-premises attribute 'proxyAddresses' was manually updated, and the sync ran without issues, confirming the update in the Sync log. However, the alias still does not appear.

The specific question is: "How can an email alias be added to a user that was previously managed on-premises, now that the Exchange server no longer exists?"

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,769 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,899 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,238 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,327 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 114K Reputation points MVP
    2025-02-14T07:57:54.6733333+00:00

    Every scenario involving directory synchronization requires you to make changes to synchronized users and their properties on-premises. This is not specific to Exchange and disabling/removing the Exchange bits do not change things - the objects will still need to be managed on-premises, until you disable synchronization.

    Now, for the specific query on updating proxyaddresses, there is a workaround you might be able to use. In a nutshell, run the following cmdlet:

    Set-Mailbox ******@domain.com -WindowsEmailAddress ******@domain.com
    

    This will add ******@domain.com as the primary SMTP address for the user, while preserving existing aliases. Keep in mind that changes might be overwritten during a full sync cycle, so in the long run, you should consider removing the sync altogether.


  2. Thameur-BOURBITA 35,601 Reputation points
    2025-02-14T08:20:04.93+00:00

    Hi @Anthony Shaw

    The specific question is: "How can an email alias be added to a user that was previously managed on-premises, now that the Exchange server no longer exists?"

    All synced object from AD to entra ID can be modified only from on-prem active directory.

    That's why you should keep at least on Exchange server to be able to modify Exchange attributes from on-prem AD.

    You can try to edit attribute from Active directory if all Exchange server are removed.


    Please don't forget to accept helpful answer


    0 comments No comments

Your answer

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