microsoft / mail2bug

Mail2Bug is a service that creates work-items in TFS (incl. VS Online) from an email, and keep the items updated with responses on the thread.
Other
175 stars 108 forks source link

Implemented OAuth support for Exchange Online and upgraded target framework to .net 4.8 #135

Open holzerseb opened 4 months ago

holzerseb commented 4 months ago

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.

holzerseb commented 4 months ago

@microsoft-github-policy-service agree

holzerseb commented 1 month ago

@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