master
Brie Bruns 4 months ago
parent 8c1985b520
commit 00e10e837d
  1. 4
      m365-secalerts.php

@ -21,8 +21,8 @@ $accessToken = $token->access_token;
$graph = new Graph();
$graph->setAccessToken($accessToken);
$user = $graph->createRequest("GET", "/groups")
->setReturnType(Model\groups::class)
$user = $graph->createRequest("GET", "/security/alerts")
->setReturnType(Model\Security::class)
->execute();
print_r($user);

Loading…
Cancel
Save