I'll have to use modern authentication for this project. it is an emergency requirement please help
I was using till basic authentication code and it was working just fine
exchange = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
exchange.Credentials = new WebCredentials("Mail_box_username","Mail_box_password");
exchange.Url = new Uri("exchangeServer");
exchange.Url.Host;
now it business has blocked basic authentication and asked us to use modern authentication