Forum Discussion
Pranesh1060
Feb 28, 2020Brass Contributor
Unable to update the alert in Security Graph using HTTP connector
Hi, We are trying to get requests for security alerts using the http connector available in Logic apps. We are querying the Graph Explorer API using the GET method and we are able to get the requ...
Nicholas DiCola (SECURITY JEDI)
Feb 28, 2020Former Employee
Hi Pranesh1060
did you enclose the date in "?
utcnow() will give you the right format, but as you can see here https://docs.microsoft.com/en-us/graph/api/alert-update?view=graph-rest-1.0&tabs=http#request-1
{ "assignedTo": "String", "closedDateTime": "String (timestamp)", "comments": [ "String" ], "feedback": "@odata.type: microsoft.graph.alertFeedback", "status": "@odata.type: microsoft.graph.alertStatus", "tags": [ "String" ], "vendorInformation": { "provider": "String", "vendor": "String" } }
the body needs to have closedDateTime in "" so its a string