Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Microsoft Teams notification

Microsoft Teams notification

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 18.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    stoffmann
    wrote on last edited by
    #1

    Hi,

    does someone have MS Teams notification working?
    What I've done so far:

    • Created Webhook URL in Teams
    • Configured notification channel (Attachment 1)
    • Configured action (Attachment 2)
    • Configured Event Policy to run action

    I also have a Powershell script for testing the webhook notification. With the Powershell script it works.
    When I raise the configured event in NetXMS I get no notification.

    Is there a logfile I can check if it does not? In the netxmsd.log there is only

    2021.02.19 14:35:01.610 *I* [ncd.msteams        ] Microsoft Teams driver instantiated
    

    Thanks

    Stefan


    NetXMSNotificationChannels.png

    NetXMSAction.jpg

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Enable level 6 debugging for tag ncd.msteams and check server log (after attempt to send).

      You can change debug level in runtime with

      nxadm -c "debug ncd.msteams 6"
      
      1 Reply Last reply
      0
      • Z
        Z
        Zebble
        wrote on last edited by
        #3

        I just got this working yesterday, at least through a script, and found this NXSL command helpful:

        SendNotification("Notification Channel", "Channel", "text", "text2");

        In your case, this would be:

        SendNotification("Teams Notification", "NetXMS", "does this work?", "Yup!");

        I ran it manually through "Execute server script".  Worked great.

        I haven't tried it as an actual event notification yet.

        -zeb

        1 Reply Last reply
        0
        • S
          S
          stoffmann
          wrote on last edited by
          #4

          It's working now. The webhook URL didn't copy paste correct.
          The nxadm -c "debug ncd.msteams 6" pointed me in the right direction.

          Thank You Alex

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups