Forum Discussion

Mani333's avatar
Mani333
Copper Contributor
Jan 06, 2025

User is unable to login to Mailbox

Hello experts,

We are in Hybrid environment and one of the user which was recently re-enabled an AD account as the user is returned back to us, is unable to login to mailbox

Steps we done

Re-enabled the AD account and moved it to syncing OU and added license to enable mailbox

I checked the recipient details in both on-prem and online

On-prem results

RecipientType        : MailUser
RecipientTypeDetails : RemoteUserMailbox

 

Online results

RecipientType        : UserMailbox
RecipientTypeDetails : UserMailbox

 

What is the part that is missing here.

 

 

 

  • VimsTech's avatar
    VimsTech
    Copper Contributor
    1. Remove Exchange Online License
    2. Remove the Old Exchange online mailbox - Type Set-User <Emailid> -PermanentlyClearPreviousMailboxInfo 
    3. Assign Back the Exchange Online License
  • Andres-Bohren's avatar
    Andres-Bohren
    Steel Contributor

    Hoi Mani333 

    Try this:

    • Remove the User from the Entra Sync Scope
    • Wait for Entra Sync to complete
    • Remove the User in Entra from the Deleted Users
    • Set-User <Mailbox> -PermanentlyClearPreviousMailboxInfo
    • Add the User to the Entra Sync Scope
    • Wait for Entra Sync to complete
    • Make sure Mailbox is available in Exchange Online (Get-Mailbox) and has License

    Kind Regards
    Andres

    • Mani333's avatar
      Mani333
      Copper Contributor

      Is there any chance of losing the users mailbox or one drive data during this process 

      • VisionLarga's avatar
        VisionLarga
        Copper Contributor

        Its also worth checking if the users onedrive data got restored after you re enabled the user. Do you get any correlation ID error when you click the mail tab of this user in the M365 admin center?

Resources