and more in a single search tool across platforms. Read the announcement here. |
04/12/2022 01:21 PM
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
Solved! Go to Solution.
04/12/2022 03:04 PM
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