I need to create a mail enabled security group using the microsoft graph API. Is there a way to do this using the graph api? Thanks a lot. When we post the following request : https://graph.microsoft.com/v1.0/groups {"displayName":"TestWimSecMail","mailEnabled":true,"mailNickname":"TestWimSecMail","securityEnabled":true,"visibility":"Private"}
we get the following response: { "error": { "code":"Request_BadRequest", "message":"The service does not currently support writes of mail-enabled groups. Please ensure that the mail-enablement property is unset and the security-enablement property is set.", "innerError": { "request-id":"a7ebbb39-9390-459d-89ba-7a6e88022cb4", "date":"2017-01-03T08:29:38" } } }