Exchange Web Services .NET > Tutorial > Authentication for Microsoft 365 - Basic authentication

The following example shows you how to create credentials to use Basic authentication for Microsoft 365.

C# example
VB example