Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/04/2024 03:46 AM
This post is related to the following Forum link.
Solved! Go to Solution.
06/04/2024 05:24 AM
{
"accountIdPath": "call1.message.id",
"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": {
"comments": "call1.message.displayName~#~char",
"displayName": "call1.message.displayName~#~char",
"name": "call1.message.userPrincipalName~#~char"
},
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "https://graph.microsoft.com/v1.0/users?$filter=mail eq '${user.email}'",
"httpMethod": "GET",
"httpHeaders": {
"Authorization": "${access_token}",
"Content-Type": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201,
204,
205
]
}
}
]
}
06/04/2024 04:17 PM
Thanks for your response.
The task failed even when using that URL.
Provisioning comments:
{"call1":{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}}
Log viewer log:
2024-06-05T08:12:30+09:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-4-ztkmw-DEBUG-Got Webservice API Response: [error:Error Illegal character in query at index 51: https://graph.microsoft.com/v1.0/users?$filter=mail eq '${user.email}']
2024-06-05T08:12:30+09:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-4-ztkmw-DEBUG-Calling Webservice Url - https://graph.microsoft.com/v1.0/users?$filter=mail eq '${user.email}' with httpParams - null
06/04/2024 07:12 PM
06/06/2024 09:45 PM
I referred to this Forum and the following JSON worked. Thank you.