How can I block Outlook Anywhere feature for users from external network?

Baylar_Ismayil 60 Reputation points
2023-11-04T05:36:33.4033333+00:00

I just want to block Outlook Anywhere ( connectivity feature that users can log in corporate Outlook 2016 account in Outlook desktop application via any external network. For example, personal Wi-Fi ). But that users can log in Outlook in internal ( corporate environment ) network with a desktop application.

PS. This issue is not about the OWA.

Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,988 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,428 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jarvis Sun-MSFT 10,176 Reputation points Microsoft Vendor
    2023-11-06T06:43:38.3333333+00:00

    Hi @Baylar_Ismayil ,

    Welcome to our Q&A forum!

    To block the Outlook Anywhere feature for users from external networks, you can disable Outlook Anywhere access externally. This can be achieved by removing the external URL from Outlook Anywhere. However, this will also prevent Autodiscover from finding the service, and external clients will not be able to connect to Exchange.

    User's image

    To block Outlook Anywhere for specific users, you can use the command:

    Set-CasMailbox -identity user@domain.com -MAPIBlockOutlookExternalConnectivity $True
    

    This will disable Outlook Anywhere for external users while allowing internal users to continue using it.

    Please let us know if you have any other problems.


    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.


0 additional answers

Sort by: Most helpful