Skip to content

Mohammed Wasay

Primary Menu
  • About
  • Blog
  • Contact
  • Get NordVPN
  • Home

Enabling ActiveSync for a Security Group using Powershell

$users = Get-ADGroupMember "AD Group with Users to be Enabled for ActiveSync"
foreach ($line in $users) {
    $user = $line.samaccountname
    Set-CASMailbox $user -ActiveSyncEnabled:$true
    Get-CASMailbox $user | Select-Object Name, ActiveSyncEnabled
}

 

Posted in Office365 | M365Tagged access, activesync, android, fire, group, iphone, mobile, office365, powershell, security

Related Post

Provisioning a New Office 365 User and Mailbox from Exchange Hybrid via PowerShell

Posted on September 18, 2017 by mo wasay
Working with many Office365 clients, I receive queries on how to go about provisioning users and mailboxes for an Exchange hybrid deployment. To begin with, let’s assume a couple things. We have a Windows 2012 R2 member server with Azure AD Connect (AAD Connect) version 1.1.105.00 (or newer) and the Azure...

Add Alternate Email Address or Recovery Email Address for Office365 Administrator

Posted on September 6, 2017 by mo wasay
In Office365, depending on the admin role of an account you may want to add an alternate email address for password recovery. This is a basically a self-service password reset for Administrators of Office365. Quick way to do this is with PowerShell: #Connect to Office365 Import-Module MSOnline Connect-MsolService $O365Cred =...

Outlook 2016: Remove Duplicate entries in Room Finder

Posted on April 12, 2017 by mo wasay
In Outlook 2016 some users may noticed dual entries in the Room List: The room list behavior that we see  in Outlook is by design. When we  use a Room List  for a meeting, it is stored in the  Most Recently Used entries in the registry. When we create a new meeting, we will see this MRU entry in the top of the Room Lists . The same Room List will be...

Office365: List Your Business Can’t Live Without

Posted on April 5, 2017April 5, 2017 by mo wasay
When you have a lot of conference rooms, equipment or special rooms mailboxes it is hard to list or find available free rooms during a particular time slot. Luckily, Office365 and Outlook 2013/2016 have a special feature called 'Room Lists', which enable you to find and schedule  a room quickly...

Post navigation

Previous post:Disabling ActiveSync for a Group of Users using Powershell
Next post:Outlook: Removing Copy from all the Calendar entries after importing from PST
Copyright all rights reserved | Theme: Minimal Blog by WPinterface.