Change Office 365 Group Email Address
If might be necessary changing the Unified Groups email address.
This could necessary, because you created the Unified Group with your tenant.onmicrosoft.com domain.
In this case simply us the following cmdlet:
Set-UnifiedGroup -Identity group@tenant.onmicrosoft.com -PrimarySmtpAddresses "new@domain.com"
Instead, if you need adding an additional email address:
Set-UnifiedGroup -Identity group@tenant.onmicrosoft.com -EmailAddresses:@{add="add-email@domain.com"}
Note:
This could necessary, because you created the Unified Group with your tenant.onmicrosoft.com domain.
In this case simply us the following cmdlet:
Set-UnifiedGroup -Identity group@tenant.onmicrosoft.com -PrimarySmtpAddresses "new@domain.com"
Instead, if you need adding an additional email address:
Set-UnifiedGroup -Identity group@tenant.onmicrosoft.com -EmailAddresses:@{add="add-email@domain.com"}
Note:
- You can use the groups email address or the groups displayname for identification.
- It is even not necessary writing -Identity
- You cannot change the PrimarySmtpAddresses and EmailAddresses at the same time.
- If you change the PrimarySmtpAddresses, where this address isn't in the EmailAddresses, the PrimarySmtpAddress will be automatically added to the EmailAdresses
Hi there, I think the first example should be:
ReplyDeleteSet-UnifiedGroup -Identity group@tenant.onmicrosoft.com -PrimarySmtpAddress "new@domain.com"