Block connection of an email address in Office 365 hybrid mode

Mohamed Ali ABIDI 201 Reputation points
2023-01-02T22:01:44.407+00:00

Hello,

We use Office 365 in hybrid mode.

We want to block connections to certain email addresses from only the Office 365 tenant and keeping the corresponding user account active in Microsoft Active Directory.

But when we block the connection of an email address in the Office 365 tenant it does not work, the connection to the address is reactivated after each synchronization of AD connect since the user account has remained active in the Microsoft Active Directory.

Is there a permanent solution to permanently block the connection from the Office 365 tenant without deactivating the user account in the Microsoft Active Directory.

Regards,

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,886 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,468 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 141.6K Reputation points MVP
    2023-01-02T22:18:55.36+00:00

    Not possible since you are syncing from on-prem to Azure.
    You could however create a conditional access policy that blocks access to all apps for those accounts. They would still be able to authenticate, they just would not be able to access any application in Azure/365.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jame Xu-MSFT 4,166 Reputation points
    2023-01-03T06:58:05.707+00:00

    Hi @Mohamed Ali ABIDI ,
    Agree with Andy, you could set the conditional access policy in the Azure AD. You could refer to: Conditional Access: Block access
    275585-image.png


    If an Answer 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.

    0 comments No comments