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.
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.