msgraph-sdk-javascript icon indicating copy to clipboard operation
msgraph-sdk-javascript copied to clipboard

Mail Enabled Groups NOT Security Groups

Open jeffcolabs1 opened this issue 3 years ago • 1 comments

Mail Enabled Always True

Description

When creating a NON security enabled group and setting mailEnabled=false. The mailEnabled field is ignored and the mailEnabled flag is always set to true. If you attempt to patch the group with mailEnabled=false the response is '204' but the field is again ignored.

  1. Create Group: description: 'Description', displayName: 'Display Name', groupTypes: ['unified'], mailEnabled=false, mailNickName:'NickName', securityEnabled=false, visibility: 'private', owners: ['owners list'], members['members list']
  2. Patch Group: mailEnabled=false. Returns '204'
  3. Get Group: mailEnabled-true

Expected behavior: mailEnabled=false

Actual behavior: mailEnabled=true.

Additional Context

This would explain users reporting that when they attempt to set Mail Enabled in the Planner Interface that emails are still being produced by the group.

jeffcolabs1 avatar Sep 10 '22 17:09 jeffcolabs1