Forum Discussion
Deleted
Mar 02, 2017Is there a way to change O365 group email address using powershell
My organization wants to change email address of O365 group. I am not able to find any power shell to change email address of already created O365 group. I tried below command but it is not workin...
- Oct 12, 2017If you want to update the Email Address of the Office 365 group, please follow below steps.
O365 Group Name :- Test O365Group
Current Email addres :- test.o365@abcd.onmicrosoft.com
Update to :- test.o365@abcd.com
Follow below script in powershell.
Set-UnifiedGroup -Identity "Test O365Group" -EmailAddresses: @{add="SMTP:test.o365@abcd.com"}
John Karlovich
Oct 17, 2017Copper Contributor
"
Yahkoob Ayappally wrote:
If you want to update the Email Address of the Office 365 group, please follow below steps.
O365 Group Name :- Test O365Group
Current Email addres :- test.o365@abcd.onmicrosoft.com
Update to :- test.o365@abcd.com
Follow below script in powershell.
@Set-UnifiedGroup -Identity "Test O365Group" -EmailAddresses: @{add="SMTP:test.o365@abcd.com"}
If I use that command, I get the following error:
There are multiple primary SMTP addresses. Please ensure there is only one primary address for each address type."
John Gregory
Sep 11, 2018Copper Contributor
Old thread but I had this issue and couldn't see the answer here.
The solution is: you need to use lowercase "smtp" rather than "SMTP".
Uppercase "SMTP" indicates the primary email address.
The solution is: you need to use lowercase "smtp" rather than "SMTP".
Uppercase "SMTP" indicates the primary email address.