So we're using modern authentication on our exchange:
Enable or disable modern authentication for Outlook in Exchange Online | Microsoft Docs
SolarWinds has a script but uses basic authentication. Does SolarWinds already support modern authentication?