How to disable ActiveSync at org level in Office365?

SenhorDolas 1,191 Reputation points
2020-09-04T09:53:37.017+00:00

I understand that I can disable ActiveSync for existing users by running these commands:

Get-Mailbox | Set-CasMailbox -ActiveSyncEnabled $False

But is there a way to disable at organisation level so new accounts are also ActiveSync disabled?

M

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,304 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,427 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 98,201 Reputation points MVP
    2020-09-04T10:01:45.61+00:00

    You can use CAS Mailbox Plans for that:

    Get-CASMailboxPlan | Set-CASMailboxPlan -ActiveSyncEnabled $false
    

  2. KyleXu-MSFT 26,226 Reputation points
    2020-09-07T02:22:22.477+00:00

    @SenhorDolas
    You can use "Get-Mailbox | Set-CasMailbox -ActiveSyncEnabled $False" to disable active for exiting mailboxes. Then you can modify the mobile access rule, in this way, new created mailbox will also cannot configure mailbox in mobile device.
    22839-qa-kyle-0907094041.png

    For the suggestion provided by michev, you can use command below to create Client Access Rule:

    New-ClientAccessRule -Name "Block ActiveSync" -Action DenyAccess  -AnyOfProtocols ExchangeActiveSync  
    

    All above settings need consume some time to sync to client.


    If the response 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.