When you add a new plan in the Office 365 Planner, a public group is automatically created with an email address that matches the initial name.
It is possible to change the email address of a Plan using powershell.
Start Windows PowerShell and run these commands to connect to Exchange Online
1 2 3 |
$cred = Get-Credential $exo = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $cred -Authentication Basic -AllowRedirection -ErrorVariable +err -ErrorAction SilentlyContinue Import-PSSession $exo -DisableNameChecking -AllowClobber -ErrorVariable +err -ErrorAction SilentlyContinue |
Now run this command to list all unified groups
1 |
Get-UnifiedGroup | select primarysmtpaddress,displayname,identity |
Copy the identity value of the group/plan you want to change and use it in this command to add a new Primary mail address.
1 |
Set-UnifiedGroup -Identity test_d83b693e-558f-27e7-4879-57ce1b511132 -PrimarySmtpAddress different@xanderbikbergen.onmicrosoft.com |
To see if it worked run this command again to list all unified groups
1 |
Get-UnifiedGroup | select primarysmtpaddress,displayname,identity |
After changing the primary Email Address you may want to remove to old email address which is now an alias.
1 |
Set-UnifiedGroup -Identity <group name> -EmailAddresses @{remove='<alias address>'} |

Comments