Reputation: 453
I have a Team with 10 channels and I need to disable sending emails in all case: when a new user is added...
I'm following this steps to disable the initial emails and when I finish the step 6 I'm obtaining a message with somethig like this: "WARNING: The command completed successfully, but no configuration value has been changed from 'mygroup_objectid'" .
$groupName = "<Replace Group Name>"
Set-ExecutionPolicy RemoteSigned
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking
Set-UnifiedGroup $groupName -UnifiedGroupWelcomeMessageEnabled:$false
How can I solve this?
Regards
Upvotes: 1
Views: 740
Reputation: 453
If I check the property value with this command:
Get-unifiedGroup | Select-object -Property DisiplayName, WelcomeMessageEnabled
I can see that the previous steps worked fine
Upvotes: 1