megadodo100
megadodo100
still failing with msgraph_beta_sdk-1.15.0
Thanks Ndiritu, that has resolved that issues but I now get the following when submitting file content ---> 48 result = await graph_client.security.threat_submission.email_threats.post(request_body) 49 print(result) 50 else: 51 print("Error obtaining...
Here is a snippet of the code used to submit: scopes = ['ThreatSubmission.ReadWrite.All'] graph_client = GraphServiceClient(result, scopes) request_body = EmailContentThreatSubmission( odata_type = "#microsoft.graph.security.emailContentThreatSubmission", category = SubmissionCategory.Phishing, recipient_email_address = "[email protected]", file_content...