Open diogofgm opened 1 year ago
The OAuth2 input uses client ID and secret (from an Azure service principal), not username and password.
Yes, I've used a client id and secret in the account configuration but I get a login failed message in the splunk logs. There is probably something missing in the azure app configuration. I'll update if I get some progress with this.
I'd start by checking the Azure AD sign-in logs for your service principal. There were definitely a few setup steps when I set mine up. If memory serves, this was the page that helped me.
https://www.limilabs.com/blog/oauth2-client-credential-flow-office365-exchange-imap-pop3-smtp
I'm trying to setup an input for OAuth2 to connect to an Office 365 email account without success.
I'm using the user and password for the account and in the input I'm using the right tenant in the OAuth2 authority.
Errors I'm getting from splunk:
Followed by:
What configurations do I need to do on the azure side to properly setup this up?