Skip to content

Instantly share code, notes, and snippets.

@trescst
Created June 23, 2021 05:47
Show Gist options
  • Save trescst/61adffe5db7df99a35d0a194011ab71e to your computer and use it in GitHub Desktop.
Save trescst/61adffe5db7df99a35d0a194011ab71e to your computer and use it in GitHub Desktop.
Enable plus addressing in Exchange Online (Office 365)

Run a powershell container

docker run -ti mcr.microsoft.com/powershell:7.1.0-ubuntu-18.04

NOTE: I'm using an older image/tag as the latest image doesn't login due to the following issue (PowerShell/PowerShell-Docker#534)

powershell commands

PS /> Install-Module -Name ExchangeOnlineManagement
PS /> Connect-ExchangeOnline -Device
PS /> Set-OrganizationConfig -AllowPlusAddressInRecipients $true

References

https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment