Embedding a dashboard in Microsoft Teams

You can upload a Cognos® Analytics app to Microsoft Teams, allowing you to connect to an external Cognos Analytics server from within Teams. You can then add a tab in Teams that displays a dashboard from the Cognos Analytics environment.

Note: You can run your Teams application on any platform: Windows, Macintosh, or the Web.

Before you begin

Ensure that these requirements are met:

  • Cognos Analytics version 11.2.3 or later is configured as follows:
  • You have administrator privileges in your Teams environment.
  • If you are running Teams on Firefox, you may need to turn off the Enhanced Tracking protection option.
Note: You don't need to be a Cognos Analytics administrator. If you can access a dashboard in Cognos Analytics, you can embed a dashboard in Teams.

Procedure

  1. In a browser window, enter the Cognos Analytics URL, appended with msteamsapp/download, as follows:

    https://host_name:port_number/bi/v1/msteamsapp/download

    or

    https://web_server_name:443/virtual_directory/bi/v1/msteamsapp/download

    A .zip file, cognosanalyticsmsteams.zip, is downloaded to your computer.

  2. Start Microsoft Teams.
  3. Click Apps, then click Manage your apps.
  4. Click Upload an app, and then and select Upload a custom app.
  5. Browse to the cognosanalyticsmsteams.zip file that you downloaded in step 1, select it, and then click Open.
  6. Do one of the following to specify where the dashboard tab will appear in Teams:
    • Click Add to a team, then type a team or channel name.

      or

    • Click Add to a chat, then type the name of a person or a chat.
  7. Click Set up tab.
  8. Enter the Cognos Analytics URL, as follows:

    https://host_name:port_number/bi/

    or

    https://web_server_name:443/virtual_directory/bi/

  9. Click Confirm.
  10. Log into Cognos Analytics.
    Note: In Teams, in both the Web application and the desktop application, you can log in using your IBM ID. Other OIDC authentication types are not supported.
  11. Browse the Team content folder, select a dashboard, and then click Select.
  12. Click Save to confirm your selection.

    The Cognos Analytics dashboard is added as a tab in Microsoft Teams.

    Tip: If you'd prefer to view your dashboard in Cognos Analytics, rather than in Microsoft Teams, click Open in Cognos Analytics in the title bar of your dashboard tab. Cognos Analytics is then launched in a new browser window. This allows you to perform other tasks in Cognos Analytics.