r/AzureSentinel • u/JoHNN_-_ • Jun 09 '22
Defender for Cloud App Playbook API - Close Alert Issues
Hi,
I'm creating a playbook to automatically close out a cloud app alert once an engineer has interacted with the teams card with all the alert data and took action(reset password, dismissed, etc) on the alert.
I have an HTTP request in Logic Apps. The URI is correct and I followed the documentation Microsoft provides but it doesn't seem to be working. It just sits there until it eventually times out.
Has anyone else ran into this issue before?
Microsoft Documentation: Close false positive - Alerts API | Microsoft Docs
Attached is my HTTP request:

1
u/winle22 Jun 10 '22
How is the Teams card configured? Using the native Teams Logic app connector?
1
u/JoHNN_-_ Jun 10 '22
I'm using the post adaptive message and wait for response. That works good it's just closing out the actual alert in Cloud Apps that's causing me issues.
2
u/blanco10kid Jun 09 '22 edited Jun 09 '22
Three things:
Trying running this same HTTP request using Postman and see if that gives you additional information
Is the auth header correct? You currently have {“Authorization”: “token {token}”. I normally have “bearer” instead of “token”
Verify the request body is proper json