You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We are creating new teams in team by first creating a SharePoint team site via New-PnPSite in order to configure the site language. This is because there is no option to provide a site language value when creating a team.
After we created the SPO site, we can teamify the M365 group using this command: New-PnPTeamsTeam -GroupId ($createdSite.groupId).guid
sadly new-pnpteamsteam states: Allows providing ResourceBehaviorOptions which accepts multiple values that specify group behaviors for a Microsoft 365 Group. This will only work when you create a new Microsoft 365 Group, it will not work for existing groups.
Describe the solution you'd like
I would like to be able to create a team site and configure the group with ResourceBehaviorOptions in order to disable the welcome email and remove the group from outlook, either during creation of the new-pnpsite cmdlet or after via Set-PnPMicrosoft365Group.
OR being able to create a team and provide the language for the backend SharePoint site. But I don't think this is possible as graph doesn't seem to have an option to provide a language during teams creation..
Describe alternatives you've considered
Via Set-PnPMicrosoft365Group I can use this parameter: -HideFromOutlookClients
But I can't see a parameter to disable the welcome mail. There is also this: Set-UnifiedGroup -Identity $GroupId -UnifiedGroupWelcomeMessageEnabled:$false
The text was updated successfully, but these errors were encountered:
resourceBehaviorOptions is a string collection that specifies group behaviors for a Microsoft 365 group. These behaviors can be set only on group creation.
If you find an API to change these settings after the creation, then they can be used by PnP too, otherwise it's not possible to implement what the feature you are describing.
what about this setting? Looks like something you can configure after creation..
Set-UnifiedGroup
-UnifiedGroupWelcomeMessageEnabled
The UnifiedGroupWelcomeMessageEnabled switch specifies whether to enable or disable sending system-generated welcome messages to users who are added as members to the Microsoft 365 Group.
To enable this setting, you don't need to specify a value with this switch.
To disable this setting, use this exact syntax: -UnifiedGroupWelcomeMessageEnabled:$false.
This setting only controls email send by the Microsoft 365 Group. It doesn't control email sent by connected products (for example, Teams or Viva Engage).
Is your feature request related to a problem? Please describe.
We are creating new teams in team by first creating a SharePoint team site via New-PnPSite in order to configure the site language. This is because there is no option to provide a site language value when creating a team.
After we created the SPO site, we can teamify the M365 group using this command: New-PnPTeamsTeam -GroupId ($createdSite.groupId).guid
sadly new-pnpteamsteam states: Allows providing ResourceBehaviorOptions which accepts multiple values that specify group behaviors for a Microsoft 365 Group. This will only work when you create a new Microsoft 365 Group, it will not work for existing groups.
Describe the solution you'd like
I would like to be able to create a team site and configure the group with ResourceBehaviorOptions in order to disable the welcome email and remove the group from outlook, either during creation of the new-pnpsite cmdlet or after via Set-PnPMicrosoft365Group.
OR being able to create a team and provide the language for the backend SharePoint site. But I don't think this is possible as graph doesn't seem to have an option to provide a language during teams creation..
Describe alternatives you've considered
Via Set-PnPMicrosoft365Group I can use this parameter: -HideFromOutlookClients
But I can't see a parameter to disable the welcome mail. There is also this: Set-UnifiedGroup -Identity $GroupId -UnifiedGroupWelcomeMessageEnabled:$false
The text was updated successfully, but these errors were encountered: