Skip to content

Update Set-UnifiedGroup.md #11224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

Anthonyyp
Copy link

Added a note to inform users that the type value is not optional in the -emailaddresses parameter when using exchangeonline (for clarification, it appears to work via CLI, but is not reflected in the GUI, and gui changes overwrite everything in the GUI unless you use the Type value).

Added a note because I'm not positive on whether this cmdlet is relevant to on premise exchange and perhaps the type value is still truly optional there.

Added a note to inform users that the type value is not optional in the -emailaddresses parameter when using exchangeonline (for clarification, it appears to work via CLI, but is not reflected in the GUI, and gui changes overwrite everything in the GUI unless you use the Type value).
@learn-build-service-prod
Copy link

Learn Build status updates of commit 0375f3c:

✅ Validation status: passed

File Status Preview URL Details
exchange/exchange-ps/exchange/Set-UnifiedGroup.md ✅Succeeded View (exchange-ps)

For more details, please refer to the build report.

For any questions, please:

@chrisda
Copy link
Contributor

chrisda commented Aug 31, 2023

@Anthonyyp, I see you closed this PR, but I was investigating, anyway.

Microsoft 365 Groups are a cloud-only feature, so no concern for on-premises Exchange.

The EmailAddresses parameter exists in 9 other cmdlets, some of which are cloud-only, and some of which are available in on-premises Exchange and the cloud. That was a long way of saying that the description of EmailAddresses in Set-UnifiedGroup was simply copied from those other cmdlets, but my testing reveals subtleties that were missing:

  • If you leave off SMTP/smtp, the SMTP email address type is assumed.
  • The first SMTP email address in a list of email addresses with no Type value OR where all type values are smtp becomes the primary email address (SMTP, not smtp).
  • You can specify SMTP on an address in the middle of the list, and that will become the primary.
  • All existing M365 Groups in my tenant had an 'email address' with Type value SPO, so I removed X400 and X500 and added SPO.
  • I observed weird behavior where old, previous email addresses would spontaneously reappear in the EmailAddresses value after I added/removed a few other email addresses. Very random and hard to reproduce.

Anyway, I made some updates to description based on my findings.

Thanks for the feedback.

chrisda added a commit that referenced this pull request Aug 31, 2023
@Anthonyyp
Copy link
Author

Anthonyyp commented Aug 31, 2023 via email

@officedocspr officedocspr reopened this Aug 31, 2023
@learn-build-service-prod
Copy link

Learn Build status updates of commit 0375f3c:

✅ Validation status: passed

File Status Preview URL Details
exchange/exchange-ps/exchange/Set-UnifiedGroup.md ✅Succeeded View (exchange-ps)

For more details, please refer to the build report.

For any questions, please:

@chrisda chrisda closed this Aug 31, 2023
@chrisda
Copy link
Contributor

chrisda commented Aug 31, 2023

@Anthonyyp, perhaps try @{Add='smtp:$newemailaddress'} (single quotes instead of double quotes? Or perhaps no quotes at all?)

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

Successfully merging this pull request may close these issues.

4 participants