Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Azure emailEnabled willl be emphty if Group type is Security?

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 1 2022 at 17:25 UTC

Hi!


{

"connection": "entAuth",

  "url": "https://graph.microsoft.com/v1.0/groups",

  "httpMethod": "POST",

"httpParams": "{\"description\": \"${roles.description}\", \"displayName\": \"${roles.displayname}\", \"groupTypes\": [\"${(roles.customproperty21=='Office365')?'Unified':''}\"], \"mailEnabled\": \"${roles.customproperty21 == 'Security' ? '' || true : false}\”, \"mailNickname\": \"${roles.displayname.replaceAll('[^a-zA-Z0-9._-]','')}\", \"securityEnabled\": \"${roles.customproperty21 == 'Security' ? true : false || true}\",\"owners@odata.bind\": [\"${allOwner}\"]}",

  "httpHeaders": {

   "Authorization": "${access_token}",

    "Content-Type": "application/json"

  },

  "httpContentType": "application/json",

"successResponses": [

201

]

}




If i want to send mailEnabled status into Azure based on group type = Security, can it be done following way? \"mailEnabled\": \"${roles.customproperty21 == 'Security' ? '' || true : false}\”


Emphty when Group type is Security. Also if it is something else then Security(Group Type) then it would be either true or false?


Best Regards,Päivi

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
1 REPLY 1

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 1 2022 at 18:24 UTC

Hi Paivi,


As per the documentation, mailEnabled value is either 1/0 which is stored in customproperty22


https://saviynt.freshdesk.com/a/solutions/articles/43000463699




Regards,

Avinash Chhetri

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.