Hi @Auon Ali Khowaja ,
I wanted to delete the user mailbox as well as contact. The mailbox was successfully deleted but the contact is still showing in the contact list.
Do you mean you have deleted a user mailbox successfully, but failed to delete a mail contact from EAC?
If this is the case, please try removing it via Exchange Online PowerShell and see if it can work:
Remove-MailContact -Identity <MailUserIdentity>
If it still doesn't work, please try installing the Azure AD Module with Install-Module MSOnline
, connect to Azure AD using Connect-MsolService
, and then try removing the contact by running the command below:
(Note: you'll need to replace "mailcontact01" with the key words like the display name of the mail contact you want to delete.)
Get-MsolContact -SearchString "mailcontact01" | Remove-MsolContact -Force
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.