bscharff
bscharff
It's probably better to use external authentication instead. SAML, OAUTH, AD, etc.
You can literally view all the source code and find out for yourself.
For $oauthuri, it should be similar to https://login.microsoftonline.com/{TENANT ID}/oauth2/v2.0/ You can get this from the Endpoints button in Azure App Registrations, except they give you the URL with /token or...
It's for receiving reports about MTA-STS (_smtp._tls)