Warning: Undefined array key "token_type" in /home/httpd/vhosts/sharepointdev.eltronix.ch/httpdocs/vendor/vgrem/php-spo/src/Runtime/Auth/AuthenticationContext.php on line 211 Warning: Undefined array key "access_token" in /home/httpd/vhosts/sharepointdev.eltronix.ch/httpdocs/vendor/vgrem/php-spo/src/Runtime/Auth/AuthenticationContext.php on line 211 Fatal error: Uncaught Office365\Runtime\Http\RequestException: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"de-DE","value":"Attempted to perform an unauthorized operation."}}} in /home/httpd/vhosts/sharepointdev.eltronix.ch/httpdocs/vendor/vgrem/php-spo/src/Runtime/ClientRequest.php:207 Stack trace: #0 /home/httpd/vhosts/sharepointdev.eltronix.ch/httpdocs/vendor/vgrem/php-spo/src/Runtime/ClientRequest.php(167): Office365\Runtime\ClientRequest->validate(Object(Office365\Runtime\Http\Response)) #1 /home/httpd/vhosts/sharepointdev.eltronix.ch/httpdocs/vendor/vgrem/php-spo/src/Runtime/OData/ODataRequest.php(155): Office365\Runtime\ClientRequest->executeQueryDirect(Object(Office365\Runtime\Http\RequestOptions)) #2 /home/httpd/vhosts/sharepointdev.eltronix.ch/httpdocs/vendor/vgrem/php-spo/src/Runtime/ClientRequest.php(141): Office365\Runtime\OData\ODataRequest->executeQueryDirect(Object(Office365\Runtime\Http\RequestOptions)) #3 /home/httpd/vhosts/sharepointdev.eltronix.ch/httpdocs/vendor/vgrem/php-spo/src/Runtime/ClientRuntimeContext.php(105): Office365\Runtime\ClientRequest->executeQuery() #4 /home/httpd/vhosts/sharepointdev.eltronix.ch/httpdocs/index.php(14): Office365\Runtime\ClientRuntimeContext->executeQuery() #5 {main} thrown in /home/httpd/vhosts/sharepointdev.eltronix.ch/httpdocs/vendor/vgrem/php-spo/src/Runtime/ClientRequest.php on line 207