Syntax Correction

Roger Roger 7,306 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 cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
Exchange | Hybrid management
Exchange | Hybrid management
The administration of a hybrid deployment that connects on-premises Exchange Server with Exchange Online, enabling seamless integration and centralized control.
0 comments No comments
{count} votes

Answer accepted by question author
  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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.