[Bug]: Cannot Create mail-enabled security group via Group nor via group Template

Required confirmations before submitting

  • I can reproduce this issue on the latest released versions of both CIPP and CIPP-API.

    I have searched existing issues (both open and closed) to avoid duplicates.

    I am not requesting general support; this is an actual bug report.

Issue Description

I created a Template with option Mail-enabled Security group.
When i then edit the group i see that the selection is changed to Security

Also when i want to create a new group i fill in all the required field and hit Create
then i get the message

"Failed to create group. test for "domain name" Failed to create group test: Cannot Create a mail-enabled security groups and or distribution list."

Environment Type

Sponsored (paying) user

Front End Version

8.6.1

Back End Version

8.6.2

Relevant Logs / Stack Trace

Message Cannot Create a mail-enabled security groups and or distribution list. NormalizedError Cannot Create a mail-enabled security groups and or distribution list. Position At /home/site/wwwroot/Modules/CIPPCore/Public/GraphHelper/New-GraphPOSTRequest.ps1:34 char:13 + throw $Message + ~~~~~~~~~~~~~~ StackTrace at New-GraphPOSTRequest, /home/site/wwwroot/Modules/CIPPCore/Public/GraphHelper/New-GraphPOSTRequest.ps1: line 34 at New-CIPPGroup, /home/site/wwwroot/Modules/CIPPCore/Public/New-CIPPGroup.ps1: line 144 at Invoke-AddGroup, /home/site/wwwroot/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Groups/Invoke-AddGroup.ps1: line 20 at New-CippCoreRequest, /home/site/wwwroot/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/New-CippCoreRequest.ps1: line 45 at Receive-CippHttpTrigger, /home/site/wwwroot/Modules/CippEntrypoints/CippEntrypoints.psm1: line 141 ScriptName /home/site/wwwroot/Modules/CIPPCore/Public/GraphHelper/New-GraphPOSTRequest.ps1 LineNumber 34 Category OperationStopped: (Cannot Create a mai distribution list.:String) [], RuntimeException

Please authenticate to join the conversation.

Upvoters
Status

Released

Board

Bug / Fix

Date

4 months ago

Author

Kelvin Tegelaar

Subscribe to post

Get notified by email when there are changes.