Microsoft Teams

This article describes how to download a specific dashboard pack. You can download dashboard packs from dashboards.squaredup.com and learn more about how dashboard packs work here: Dashboard Packs

Description

This dashboard is used by the College of Science at Purdue University to monitor Microsoft Teams usage for teaching different classes. It does not monitor the entire Teams infrastructure.

The dashboard can display data for the current and previous semester. You can either switch between the semesters by manually changing the PowerShell profile of the tile or you can create two dashboards, one for the current and one for the previous semester, and set the tiles to the appropriate PowerShell profile. The current semester is defined in a database that contains the current semester.

Meaning of terms used in this dashboard

There are a few specific terms used in this dashboard:

Section
This is the "class" that a student signs up for - it meets at a specific time and place.
Class
This is the subject, such as Chem 101. A student taking Chem 101 will have a lecture section and a lab section, and there will normally be more than one instance of each.
Empty Team
This is a team with no "member" users. They are monitored to ensure no one incorrectly populated the database with inaccurate section data.
Unowned Team
Each team technically must require at least one "owner" user. The service account used is an owner on every team so that it can update the membership daily. An "Unowned Team" is a team with only one owner - the service account. This means that the team has no real owner, commonly because the owner information has not been entered when setting up the team (in this case, the departments have not entered "Instructor of Record" into the LMS).
Lecture Teams Properly Configured
This test looks to ensure that specific properties are not empty. In this case, "properly configured" means that properties are set to ensure not everyone can send emails to lecture teams. Empty properties, meaning that anyone can send emails, will lead to a warning.

How do I import and configure this dashboard?

  1. Ensure you're using SquaredUp DS v5.4 or above.

    Already a SquaredUp customer?

    Get the latest version of SquaredUp DS for Azure

    New to SquaredUp?

    Try it for free

  2. Download and install the public PowerShell module MicrosoftTeams ExchangeOnlineManagement. You can download it here.
  3. Install a PowerShell module for the database interaction with your DBMS of choice.
  4. Create the database with the following PowerShell script. The database defines the table definitions for MY SQL for the current semester . The current semester is used in the PowerShell profiles which enable you to dynamically switch between the current semester (defined in the database) and the previous semester (dynamically created based on whatever current semester is defined in the database).
    Note: For the table, you only need the TeamGroupID part for this dashboard. The other parts of the table are for functions the dashboard creator needed outside of this dashboard.
    Note: You'll need to replace the database calls Invoke-CoSBD with calls that work with whatever PowerShell database module or scripts you're using.
  5. Populate the database with your data.
  6. Create two PowerShell profiles with the following settings:
    Note: The reason why you create two profiles is to be able to dynamically switch between semesters. By default, the tiles use the Current Semester profile. The second profile Previous Semester enables you to switch to the previous semester just by selecting this profile in the tile. You could also create a second dashboard for the previous semester with identical tiles and set them to use the previous semester profile.
    Profile 1:
    Name
    Current Semester

    Note: The name is case-sensitive and must be entered exactly as given here for the tiles to recognize the profile automatically. If you name it differently, you will need to select the profile manually for each tile on the dashboard.

    Script
    Copy and paste the contents of the PowerShell script below.
    Profile 2:
    Name
    Previous Semester
    Script
    Copy and paste the contents of the PowerShell script below.
  7. Download and import this dashboard pack.

  8. Add an interval and a timeout to your PowerShell tiles.
    1. Edit the tile by clicking the Edit button.
    2. Open the environment panel.
    3. Enter an interval and a timeout fit to your environment.
      Note: The MicrosoftTeams and ExchangeOnlineManagement modules do not process large numbers of teams quickly. Searching for deleted teams out of 200 teams can take 6-7 minutes. For those scripts, you either need to increase the timeout length or run them outside of SquaredUp DS.
  9. Publish the dashboard.

Was this article helpful?


Have more questions or facing an issue?