Quantcast
Channel: Email and calendar - Recent Threads
Viewing all articles
Browse latest Browse all 10891

Re: How do I stop automatic Forwarding?

$
0
0

1. Run O365 Powershell module: if you do not have it you can download the Azure Powershell client here: technet.microsoft.com/.../jj151815.aspx

2. Run commands below to get connected to 0365

$Cred = Get-Credential (enter your user name and password when prompted)

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ps.outlook.com/powershell -Credential $Cred -Authentication Basic –

AllowRedirection

Import-PSSession $Session

3. Connect-MsolService

4. Now run the command to stop forwarding:

To remove forwarding change $true to $false and replace forwardingSMTPAddress with $null

Example:Set-Mailbox -Identity username@domain.com -DeliverToMailboxAndForward $false -ForwardingSMTPAddress $null


Viewing all articles
Browse latest Browse all 10891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>