Issues with Managing Aliases in O365 Hybrid AD Setup

Deepu K 20 Reputation points
2024-07-18T15:20:34.2533333+00:00

In my O365 users -> Manage username and email, I am unable to add Aliases or see previously created Aliases in my mail account. My O365 is Hybrid AD joined with Azure and displays the information: "This user is synchronized with your local Active Directory. Some details can be edited only through your local Active Directory."
I have some queries regarding this setup:

  1. Why were all of my aliases deleted after the Hybrid AD Sync?
  2. How can I recreate those aliases with my current Hybrid setup?
  3. How can I prevent the deletion of aliases for those AAD sync user accounts?
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,998 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Noah Ma-MSFT 2,340 Reputation points Microsoft Vendor
    2024-07-19T08:21:02.6533333+00:00

    Hi @Deepu K,

    Thank you for posting to Microsoft Community.

    Based on your description, I understand you want to add the aliases in your Hybrid environment with Azure AD Connect.

    For this you could use AD User and Computer (ADUC), find the user, double click -> attribute editor -> find "proxyAddresses" and add the address. Add to the on-prem object via ADUC and it will sync via AADConnect within 30 minutes.

    However, please kindly note Microsoft do not support AADConnect syncing to 365 not having at least one Exchange Server on-prem for management.

    If my answer is helpful to you, please mark it as the answer so that other users can refer to it. Thank you for your support and understanding.


  2. Deepu K 20 Reputation points
    2024-07-23T13:44:09.0866667+00:00

    Dear @Noah Ma-MSFT
    Thank you for your suggestion. I tried using the PowerShell command mentioned:
    ***Set-ADUser XXX -add @{ProxyAddresses="smtp:xxx.onmicrosoft.com"}***Additionally, I attempted the following prerequisites:

    Installed Remote Server Administration Tools (RSAT)

    Imported the Active Directory Module

    Verified the Module Installation

    Verified User Identity and Ensured Proper Permissions

    Despite these efforts, I was unable to get the command to work successfully. Please let me know if you have any further suggestions or additional PowerShell steps to make the command work.

    Thank you.

    Best regards,

    0 comments No comments

  3. Deepu K 20 Reputation points
    2024-07-24T05:48:11.1133333+00:00

    Dear @Noah Ma-MSFT
    Thank you for your update.

    As requested, I have attached the error message screenshot that appeared when I ran the PowerShell command:
    Set-ADUser XXX -add @{ProxyAddresses="smtp:xxx.onmicrosoft.com"}

    The error message states:
    SetADUser-02

    SetADUser-01

    **Set-ADUser : Cannot find an object with identity: 'deepu.k@ensurity.com' under: 'DC=ensurity,DC=com'. **

    I hope this provides the necessary information for further assistance. Please let me know if you need any additional details or have further instructions.

    Thank you for your support.

    Best regards,

    0 comments No comments