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 Windows Classic Outlook for Windows For business
Exchange Exchange Server Management
0 comments No comments
{count} votes

Accepted answer
  1. Jarvis Sun-MSFT 10,231 Reputation points Microsoft External Staff
    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 ******@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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.