SOLVED

able to save security group multiple times with same mailNickName

Copper Contributor

hi, i ran this code 3 times and it created a new security group every time (returning different group ids).

i thought mailNickname was enforced to be unique? please advise.

 

Frank_Cheung_Quilter_0-1709285670372.png

 

 

3 Replies
It is, but only for Exchange recipients. Which a non mail-enabled security group is not 🙂

@VasilMichev 

 

thanks, how can i enforce uniqueness in my code?

 

i am trying to automate the creation of security groups and it won't be nice if people can create duplicates.

1 best response