[GH-ISSUE #2201] [GROUP TEMPLATES] Failed to create group: A value is required for property 'mailNickname' of resource 'Group'. #1135

Closed
opened 2026-03-02 13:41:52 +03:00 by kerem · 3 comments
Owner

Originally created by @tfromcube on GitHub (Mar 7, 2024).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2201

Description

  1. Go to Administration -> Group Templates
  2. Add Group Template
  • Fill in display Name
  • Fill in Description
  • Leave username blank
  • Security group (not mail enabled)
  1. Go to Administration -> Deploy Group Template
  • Select newly created template, leave everything default (again, leave username blank)
  1. Submit
  2. Following Error message appears:

image
This will generate the error Failed to create group: A value is required for property 'mailNickname' of resource 'Group'.

Tl;dr group templates can't be deployed unless the username value is filled in.

Environment data

Self-hosted instance (But we are sponsors)
Front end version number: Latest: 5.2.1 
Back end version number: Latest: 5.2.1
Tried Tenant Cache Clear: true 
Tried Token Cache Clear: true
Originally created by @tfromcube on GitHub (Mar 7, 2024). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2201 ### Description 1. Go to Administration -> Group Templates 2. Add Group Template - Fill in display Name - Fill in Description - Leave username blank - Security group (not mail enabled) 3. Go to Administration -> Deploy Group Template - Select newly created template, leave everything default (again, leave username blank) 4. Submit 5. Following Error message appears: ![image](https://github.com/KelvinTegelaar/CIPP/assets/153834694/c27a18b7-4301-4da4-a184-c6420bfa1bcb) This will generate the error **Failed to create group: A value is required for property 'mailNickname' of resource 'Group'.** Tl;dr group templates can't be deployed unless the username value is filled in. ### Environment data ```PowerShell Self-hosted instance (But we are sponsors) Front end version number: Latest: 5.2.1 Back end version number: Latest: 5.2.1 Tried Tenant Cache Clear: true Tried Token Cache Clear: true ```
kerem 2026-03-02 13:41:52 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Mar 7, 2024):

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/
If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

<!-- gh-comment-id:1983816344 --> @github-actions[bot] commented on GitHub (Mar 7, 2024): Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/ If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug." Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".
Author
Owner

@tfromcube commented on GitHub (Mar 7, 2024):

I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.

<!-- gh-comment-id:1983838445 --> @tfromcube commented on GitHub (Mar 7, 2024): I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.
Author
Owner

@KelvinTegelaar commented on GitHub (Mar 7, 2024):

Not a bug, you missed filling the username field. Thats mandatory for a security group :)

<!-- gh-comment-id:1984670659 --> @KelvinTegelaar commented on GitHub (Mar 7, 2024): Not a bug, you missed filling the username field. Thats mandatory for a security group :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#1135
No description provided.