Ad Widget

Collapse

M365 Email With OAUTH

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WheelerMike
    Junior Member
    • Mar 2026
    • 2

    #1

    M365 Email With OAUTH

    I am trying to get M365 email with OAUTH setup in Zabbix. I created my app in Entra and gave it all the permissions it needs. I've tested the token from a terminal Windows on the Zabbix server using a CURL command it it pulls the token. It looks like there's only 3 fields to fill out for OAUTH. Redirection endpoint. Client ID and Client secret.

    When I use the URL https://SERVERIP/zabbix/zabbix.php?a...auth.authorize for the Redirection endpoint in Zabbix and in the redirect URI for the Azure app I get the error:

    Cannot get authentication tokens
    Failed to connect to login.microsoftonline.com port 443 after 1 ms: Could not connect to server

    When I use https://SERVERIP/zabbix/index.php?ac...h2.callback​ for both, when I click Add it opens a 2nd windows to the Zabbix dashboard and that's it. I get the error in the add screen that says "Complete authentication to get tokens".

    What am I missing or doing wrong? Thank you!
Working...