233 Rogue River Hwy #873, Grants Pass, OR 97527
Mon-Fri: 9:00 am - 5:00 pm
Here is a quick powershell one liner that I came up with when I got a request from Microsoft Support to disable user protocols. I did some research and found out that they meant the protocols or services used to access Office 365 Exchange Online.
Open Windows Azure Active Directory Module for Windows Powershell as Domain Administrator and type in the following to connect to Exchange Online via Powershell:
$creds = Get-Credential
(Enter the Office 365 Administrator credentials then click “OK” button.)
Connect-MsolService -Credential $creds
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $creds -Authentication Basic -AllowRedirection
Once connected to Office 365 via Powershell, here is the one liner to disable user protocols:
Set-CASMailbox email@example.com -ImapEnabled $False -PopEnabled $False -OWAEnabled $False -ActiveSyncEnabled $False -MAPIEnabled $False
Here is the one liner to enable user protocols:
Set-CASMailbox firstname.lastname@example.org -ImapEnabled $True -PopEnabled $True -OWAEnabled $True -ActiveSyncEnabled $True -MAPIEnabled $True
If your company is currently using Office 365 and needs help translating commands given by Microsoft Support, then contact us for assistance.
Your email address will not be published. Required fields are marked *
Something went wrong, try refreshing and submitting the form again.