Syntax Correction

Roger Roger 6,406 Reputation points
2024-05-26T06:06:16.0166667+00:00

Hi All is the below syntax correct

New-UnifiedGroup -DisplayName "UG1" -Alias "ug1" -PrimarySmtpAddress "UG1@mydomain.com" -Members "user1@mydomain.com" -ManagedBy "user1@mydomain.com" -AccessType private -UnifiedGroupWelcomeMessageEnabled "$false" -AutoSubscribeNewMembers

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,595 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,683 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,140 questions
0 comments No comments
{count} votes

Accepted answer
  1. Noah Ma-MSFT 2,725 Reputation points Microsoft Vendor
    2024-05-27T05:16:52.0866667+00:00

    Hi @Roger Roger,

    Thank you for posting to Microsoft Community.

    Based on your description, I understand you want to create a new unified group by the command you offered.

    However, you may need notice there are no UnifiedGroupWelcomeMessageEnabled parameter match New-UnifiedGroup, the rest part of the command could work correctly as below.

    A screen shot of a computer

    A black screen with white text

    You could use Set-UnifiedGroup to disable UnifiedGroupWelcomeMessage setting as below.

    User's image

    You could refer to Set-UnifiedGroup (ExchangePowerShell) | Microsoft Learn for more information.

    Hope it helps and if there are anything else you need help, please feel free to contact me.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.