Open holzerseb opened 4 months ago
@microsoft-github-policy-service agree
@davisjr Hi sorry to bother, but I saw the PR was approved and checks went through but never merged, presumably because of the agree message being sent too late. Can you merge it? Thanks
OAuth support for Exchange Online was added. Basic authentication can still be used by omitting the EWSOAuthSecret config element. For OAuth, an Exchange application with sufficient API permissions are required. The Client Secret for the Exchange application must be encrypted via DPAPI similar to the password file. Reference Config and Config Examples have been updated to and annotated with some descriptions. Additionally, the Target Framework was bumped to .NET 4.8.0 in order to support Azure DevOps Server.
I could not verify that Basic Authentication still works, since my EWS environment doesn't allow Basic Auth anymore. Please check that the old method still works, but from the code alone nothing should have changed. I've verified OAuth in my environment and it works like charm.