Ad Widget

Collapse

M365 monitor with ZBX

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nczaw
    Member
    • Sep 2023
    • 31

    #1

    M365 monitor with ZBX

    I have successfully integrated M365 with Zabbix and followed all the steps outlined in the Zabbix guide as shown below. However, the Zabbix host status is still showing "no data," and it seems like the data is not being synced between M365 and Zabbix.

    Has anyone experienced a similar issue? Any suggestions or guidance would be greatly appreciated.

    M365 side
    1. Register the app with your Microsoft Entra ID.
    2. Configure Microsoft Graph application permissions on the app ID:
    Reports.Read.All - required for app usage and activity metrics
    3. Request administrator consent.

    ZBX side
    1. Create Host and used "Microsoft 365 reports by HTTP" template.
    2. Integrate with below information in "Host>Macros" tab
    - {$MS365.APP.ID}
    - {$MS365.PASSWORD}
    - {$MS365.TENANT.ID}

    EDIT > Now can monitor all and thank you
    Last edited by nczaw; 07-10-2024, 12:32.
  • AleksejEgorov
    Junior Member
    • Apr 2022
    • 3

    #2
    I invoked steps from this guide too, but for each raw item received this reply:
    Code:
    Request failed with status code 403: {"error":{"code":"UnknownError","message":"{\"error\":{\"code\":\"S2SUnauthorized\",\"message\":\"Invalid permission.\"}}","innerError":{"date":"2025-01-13T11:35:31","request-id":"REQUEST-GUID-HERE","client-request-id":"CLIENT-REQUEST-GUID-HERE"}}}.
    My Entra app has these API permissions:
    Click image for larger version

Name:	image.png
Views:	1021
Size:	17.4 KB
ID:	497099
    And valid secret in MyApp > Certificates & secrets > Client secret (populated {$MS365.PASSWORD} macro).
    Please, can you help me, what am I doing wrong?

    Comment

    • Antoine_Grd
      Junior Member
      • Jan 2025
      • 2

      #3
      Hi,
      I have the same problem, same error.
      Did you find a solution?
      Thx

      Comment

      • Antoine_Grd
        Junior Member
        • Jan 2025
        • 2

        #4
        I found my problem. I had to "Request administrator consent" :


        Click image for larger version

Name:	image.png
Views:	930
Size:	206.8 KB
ID:	498066

        Comment

        Working...