VERBOSE: Using EWS dll from Local Directory
VERBOSE: Using Negotiate Auth
Using CAS Server : https://outlook.office365.com/EWS/Exchange.asmx
VERBOSE: Microsoft.Exchange.WebServices.Data.ExchangeService.AutodiscoverUrl
VERBOSE: Microsoft.Exchange.WebServices.Data.ExchangeService.url
VERBOSE: Microsoft.Exchange.WebServices.Data.ExchangeService.url
VERBOSE: GAL not found, attempting to create now...
FATAL Failed verify that GAL exists for tester@domain.onmicrosoft.com Exception calling "Save" with "1" argument(s): "The request failed. The remote server returned an error: (401) Unauthorized."
ERROR Failed to Sync-ContactList for tester@domain.onmicrosoft.com Failed verify that GAL exists for tester@domain.onmicrosoft.com
It looks like the account/app you're using does not have permission for EWS application impersonation. Please consult the README for how to set this up.
I can't create a folder for contacts :(
VERBOSE: Using EWS dll from Local Directory VERBOSE: Using Negotiate Auth Using CAS Server : https://outlook.office365.com/EWS/Exchange.asmx VERBOSE: Microsoft.Exchange.WebServices.Data.ExchangeService.AutodiscoverUrl VERBOSE: Microsoft.Exchange.WebServices.Data.ExchangeService.url VERBOSE: Microsoft.Exchange.WebServices.Data.ExchangeService.url VERBOSE: GAL not found, attempting to create now... FATAL Failed verify that GAL exists for tester@domain.onmicrosoft.com Exception calling "Save" with "1" argument(s): "The request failed. The remote server returned an error: (401) Unauthorized." ERROR Failed to Sync-ContactList for tester@domain.onmicrosoft.com Failed verify that GAL exists for tester@domain.onmicrosoft.com