deny login to users mailbox

Glenn Maxwell 10,146 Reputation points
2020-09-07T05:19:03.713+00:00

Hi All

i am using exchange hybrid environment, we create the users in onprem and migrate to cloud, i have a requirement for one of my office365 user where the user should not login to his mailbox for 6 months temporarily, i.e after 6 months he can access. so if i disable mapi protocol will it work for me. user can receive mails to his mailbox just i dont want to user to access his mailbox from his outlook, owa and mobile devices. after 6 months user can view all his previous received emails during this time of denying login. how can i achieve this.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,167 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,338 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.
1,878 questions
{count} votes

Accepted answer
  1. Joyce Shen - MSFT 16,641 Reputation points
    2020-09-08T02:18:37.517+00:00

    Hi @Glenn Maxwell , agree with the suggestions above, and it should be the easiest way to meet your needs.

    The test result here:

    Locate to O365 Admin center, Users, Active users, choose the user you want to deny access, block sign-in23020-qa-2020-09-08-10-11-09.png

    23028-qa-2020-09-08-09-52-13.png

    After you block this user, he/she will not be able to login the account through OWA, outlook and any other ways

    23050-qa-2020-09-08-09-56-34.png

    However, other people who has full access permission will see new mails sent to his mailbox as well:

    23151-qa-2020-09-08-10-02-14.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.
     
     

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Vasil Michev 95,081 Reputation points MVP
    2020-09-07T06:01:39.8+00:00
    0 comments No comments

  2. Ashok M 6,506 Reputation points
    2020-09-07T06:04:05.387+00:00

    Hi,

    You can try setting the sign-in status to blocked in Office 365 Admin center for the user.

    1. Sign in to the Office 365 portal as an admin.
    2. Users -> Active Users -> Locate the user, and then open the settings for that user.
    3. Under Set sign-in status, click Blocked, and then click Save

    This will not allow the user to login to the Office 365 and access the mailbox but the mailbox will be active and emails will be received.

    Also, you can disable the AD account of the user and sync it with the office 365, so the user cannot login to the mailbox but the mailbox will continue to work.

    To confirm whether the mailbox receives the email, you can send a test email and assign full access permission to your account on that mailbox and login using OWA to check the mailbox.