Syntax Correction

Roger Roger 7,181 Reputation points
2024-05-26T06:06:16.0166667+00:00

Hi All is the below syntax correct

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

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,185 questions
Exchange | Exchange Server | Management
Exchange | Hybrid management
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    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.