Office365 OAuth Token is not refreshed automatically

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.4.9
    • Component/s: Frontend (F), Server (S)
    • None
    • Environment:
      OS: Ubuntu 24.04.4 LTS (Noble Numbat) x86_64
      Kernel: Linux 6.8.0-110-generic
      CPU: 2 vCPU (Intel(R) Xeon(R) Gold 5315Y @ 3.19 GHz)
      GPU: VMware SVGA II Adapter
      Memory: 2 GB
      Swap: 2 GB
      Disk: 25 GB - ext4

      Steps to reproduce:

      1. Configure Office365 Media type with OAuth authentication
      2. Test Media type -> Mail was successfully sent and recieved
      3. Triggers that send Alerts via the Office365 Media type work as intended for 1-2 Hours, afterwards they start failing
      4. Test Media type again -> Mail was successfully sent and recieved
      5. Triggers that send Alerts via the Office365 Media type work again

      Result:

      Expected:

      Hypothesis:

      Zabbix is not automatically refreshing the OAuth Token periodically, to ensure authentication remains valid.
      Token refresh only works when manually triggered by either sending a test mail or reconfiguring the OAuth settings of the Office365 Media type.

      According to Microsofts documentation, OAuth Tokens have varying lifetimes depending on a few different factors, perhaps Zabbix is not accounting for that.

            Assignee:
            Zabbix Support Team
            Reporter:
            Lennart Siekmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: