Replies: 2 comments
-
Hello @nmourad thanks for using the SDK and for raising this. This method actually exists as you can see from https://github.com/microsoftgraph/msgraph-sdk-python/blob/main/msgraph/generated/security/incidents/item/alerts/item/comments/comments_request_builder.py mappig to the URL call https://graph.microsoft.com/v1.0/security/incidents/{incident-id}/alerts/{alert-id}/comments It can be used via a snippet like: post_body =
result = await graph_client.security.incidents.by_incident_id("id").alterts.by_alert_id('id).comments.post(post_body ) Also Check that your account is provisioned and appropriate permisions are assigned |
Beta Was this translation helpful? Give feedback.
-
Hello,
|
Beta Was this translation helpful? Give feedback.
-
SDK method is missing to add comment on an incident
Corresponding doc : https://learn.microsoft.com/en-us/graph/api/security-incident-post-comments?view=graph-rest-1.0&tabs=http
Beta Was this translation helpful? Give feedback.
All reactions