Which team is your organization’s GIF champion?

1200px-Microsoft_Office_Teams_(2018–present).svg

Just a short silly weekend scripting project to get started after the summer vacation.
This script counts how many GIF’s are used in each Microsoft Teams team, and give you the stats from top to bottom.

Take a look here if you don’t know how to get an access token for Graph API requests in PowerShell. Also, remember if your graph requests return more than a hundred objects, you will need to do another request for the next hundred. Will updated code and write another blogpost on how to handle large number of objects in your requests.

Lee Ford beat me to it, so take a look at his post to handle large returns in requests:
https://www.lee-ford.co.uk/graph-api-paging/

Link to script if embedded version fails

 

One thought on “Which team is your organization’s GIF champion?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s