Change email address of Office 365 group

Steps to change Office 365 group Email address:-

Current SMTP address :-
Required SMTP address :-

Follow the below steps in power shell using Global Administrator Credentials,

1. Connect to Exchange Online via Power shell using Global Administrator Credentials and run the below commends. First two command run separately.

Set-ExecutionPolicy Unrestricted

Start-service winrm

Import-module MSOnline
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Connect-MsolService -Credential $UserCredential

2. Run the below command to add required SMTP address as an alias.
Set-UnifiedGroup -Identity “X” -EmailAddresses: @{Add =”Y”}
here X is the Display Name of Office 365 group and Y is the required Email ID.
Set-UnifiedGroup -Identity “Test o365Group” -EmailAddresses: @{Add =””}

3. Promote alias as a primary SMTP address,
Set-UnifiedGroup -Identity “Test O365Group” -PrimarySmtpAddress “”

4. If not required, you can remove first ID using below command.
Set-UnifiedGroup -Identity “Test o365Group” -EmailAddresses: @{Remove=””}

Source: Microsoft Tech Community

Disable Clutter for all users on Office 365

Powershell (run as admin).

First time only:

Set-ExecutionPolicy RemoteSigned

To disable clutter for all users:

$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session

Get-mailbox -ResultSize Unlimited | Set-Clutter -Enable $false

Remove-PSSession $Session

Source: Office365 Community

Stop WINMAIL.DAT TNEF attachments being sent in Office365


$Cred = Get-Credential

Connect-msolservice -credential $Cred

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $Cred -Authentication Basic -AllowRedirection

Import-PSSession $Session

Set-RemoteDomain Default -TNEFEnabled $false

Remove-PSSession $Session

Source: Spiceworks

Office 365 SBS2011 Outlook won’t connect or keeps changing back to local exchange – Autodiscover

On SBS Server
Command Prompt run as admin:
%windir%\system32\inetsrv\appcmd.exe add backup BeforeRemovalAutodiscover

Exchange Management Shell run as admin:
Get-AutodiscoverVirtualDirectory | fl Name, Server, InternaUrl, Identity

Remove-AutodiscoverVirtualDirectory –Identity “identity value retrieved above”

If for some reason you need to restore autodiscover on the SBS server
Command Prompt run as admin:
%windir%\system32\inetsrv\appcmd.exe restore backup BeforeRemovalAutodiscover

Source: BlogsIISNet

Source: Toronto Help Desk