Hey there,
I have setup a logic app to restart scim provisioning in our AAD environment. I have managed to successfully get the access token, parse the JSON etc. However, when it comes to the api call to restart the job, I am getting an error. The call I am making is:
https://graph.microsoft.com/beta/servicePrincipals/{serviceprincipal}/synchronization/jobs/{jobid}/restart - with a request body of:
{
"criteria": {
"resetScope": "Watermark"
}
}
I get the error below. Any help would be appreciated.
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"date": "2023-03-10T06:25:11",
"request-id": "5455055b-6952-4597-81de-c5dd05f025fa",
"client-request-id": "5455055b-6952-4597-81de-c5dd05f025fa"
}
}