Java Auth x EWS

Docs and code samples for Java Auth

API Permission for this example

This old example is using the "basic auth" method

...which needs to be replaced with the code snippets from this document by getting a token first

...then pass the token to the ewsclient

The example above is using the "Interactive" method for auth; if we need to use the "Non-Interactive" method, we need to use another method to get the token, like the guide here.

More examples can be found here.

Sample codes from Microsoft below

Last updated