Open matt-davis27 opened 1 week ago
Not sure if it's relevant or not, but I was able to load GET /security/alerts_v2
just fine without the same error:
from office365.graph_client import GraphClient
client = GraphClient.with_client_secret(tenant id, client id, client secret)
result = client.security.alerts_v2.get_all(page_size=10).execute_query()
print(result)
I'm trying to use the code below to load the
GET /security/incidents
endpoint following the Microsoft Documentation. However, I'm facing aTypeError
when I try to run thesecurity.get_all()
function.Code to reproduce:
Full error:
System information: Python 3.12.5 Office365-REST-Python-Client 2.5.13