Introduction to the Microsoft TeamsSyncPack

Download this manual as a PDF file 

This section describes how you can use the Microsoft Teams SyncPack to automatically create channels and trigger event messages from SL1 to Microsoft Teams. The integration is uni-directional between SL1 and Microsoft Teams.

This SyncPack requires a subscription to ScienceLogic Standard solutions.

The label "SyncPack" is used in place of "SyncPack" in the PowerFlow user interface.

Prerequisites for the SyncPack

This SyncPack requires the following:

  • Administrator access to the SL1 Administration Portal
  • Administrator access to Microsoft Teams
  • A secured SSL/TLS-enabled connection to PowerFlow

The following table lists the port access required by PowerFlow and this SyncPack:

Source IP PowerFlow Destination PowerFlow Source Port Destination Port Requirement
PowerFlow SL1 API Any TCP 443 SL1 API Access
PowerFlow Microsoft Teams API Any TCP 443 Microsoft Teams API Access

Contents of the SyncPack

This section lists the contents of the Microsoft Teams SyncPack.

PowerFlow Applications

  • Create Channel For Event. This application creates a channel in Microsoft Teams to post event notifications from SL1.
  • Created Channel Event Notification MS Teams.
  • Major Event Notification To MS Teams.
  • Outage Event Notification.
  • Sync Event Status From Teams to SL1. This application synchronizes an event update made in Microsoft Teams with the event status in SL1.

For more information about how to configure these applications, see Configuring and Aligning a Configuration Object in PowerFlow.

Configuration Object

  • Sample Microsoft Teams Config. This configuration object can be used as a template after the SyncPack is installed on the PowerFlow system. The configuration object includes the following:
  • Details for connecting to the SL1 API, including the URL, username, and password
  • Details for connecting to the Microsoft Teams API, including the base URL, private instance URL, and API keys
  • Details for connecting to an HTTP Proxy when communicating with Microsoft Teams, including the hostname or IP address, username, and password
  • Mapping between SL1 events and Microsoft Teams alerts including, device ID format, heartbeat and schedule name, default user, and maintenance object format information

Steps

The following steps are included in this SyncPack:

  • Call User on Teams
  • Create Teams Channel
  • Create SL1 Payload
  • Delete Event From SL1
  • Fetch Channel ID From Name
  • Fetch Microsoft Email
  • Fetch Teams User Input Data
  • Post Event Card To Teams
  • Post Event Details To Channel
  • Post Update to SL1

Installing the SyncPack

A SyncPack file has the .whl file extension type. You can download the SyncPack file from the ScienceLogic Support site.

Downloading the SyncPack

If you are installing or upgrading to the latest version of this SyncPack in an offline deployment, see Installing or Upgrading in an Offline Environment to ensure you install any external dependencies.

To locate and download the SyncPack:

  1. Go to the ScienceLogic Support Site at https://support.sciencelogic.com/s/.
  2. Click the Product Downloads tab and select PowerPack.
  3. In the Search PowerPacks field, search for the SyncPack and select it from the search results. The Release Version page appears.
  4. On the PowerPack Versions tab, click the name of the SyncPack version that you want to install. The Release File Details page appears.
  5. Click the Download File button to start downloading the file.

After you download the SyncPack, you can import it to your PowerFlow system using the PowerFlow user interface.

Importing the SyncPack

To import a SyncPack in the PowerFlow user interface:

  1. On the SyncPacks page () of the PowerFlow user interface, click Import SyncPack. The Import SyncPack page appears.
  2. Click Browse and select the .whl file for the SyncPack you want to install. You can also drag and drop a .whl file to the Import SyncPack page.
  3. Click Import. PowerFlow registers and uploads the SyncPack. The SyncPack is added to the SyncPacks page.
  4. You will need to activate and install the SyncPack in PowerFlow. For more information, see Activating and Installing a Synchronization PowerPack.

You cannot edit the content package in a SyncPack published by ScienceLogic. You must make a copy of a ScienceLogic SyncPack and save your changes to the new SyncPack to prevent overwriting any information in the original SyncPack when upgrading.

Installing the SyncPack

To activate and install a SyncPack in the PowerFlow user interface:

  1. On the SyncPacks page of the PowerFlow user interface, click the Actions button () for the SyncPack you want to install and select Activate & Install. The Activate & Install SyncPack modal appears.

    If you try to activate and install a SyncPack that is already activated and installed, you can choose to "force" installation across all the nodes in the PowerFlow system.

    If you do not see the PowerPack that you want to install, click the Filter icon () on the SyncPacks page and select Toggle Inactive SyncPacks to see a list of the imported PowerPacks.

  1. Click Yes to confirm the activation and installation. When the SyncPack is activated, the SyncPacks page displays a green check mark icon () for that SyncPack. If the activation or installation failed, then a red exclamation mark icon () appears.
  2. For more information about the activation and installation process, click the check mark icon () or the exclamation mark icon () in the Activated column for that SyncPack. For a successful installation, the "Activate & Install SyncPack" application appears, and you can view the Step Log for the steps. For a failed installation, the Error Logs window appears.
  3. If you have other versions of the same SyncPack on your PowerFlow system, you can click the Actions button () for that SyncPack and select Change active version to activate a different version other than the version that is currently running.