Teams
Assigning Permissions for Apps to Use the Microsoft Teams PowerShell Module
(office365itpros.com)
Before an app or an Azure Automation account can use the Teams PowerShell cmdlets in a script or
By: Tony Redmond submitted:Oct 21 2022
Before an app or an Azure Automation account can use the Teams PowerShell cmdlets in a script or
runbook, it must have the permission to act as an administrator. In this article, we cover how to assign the necessary role to a service principal.
By: Tony Redmond submitted:Oct 21 2022
Audit Microsoft Teams Membership Changes using PowerShell
(o365reports.com)
Microsoft Teams plays a crucial role in facilitating collaboration and communication in the
By: Kathy Cooper submitted:Dec 16 2022
Microsoft Teams plays a crucial role in facilitating collaboration and communication in the
organizations. As team owners can add or remove members from MS Teams, it is important for admins to track membership changes to ensure authorized individuals have access
By: Kathy Cooper submitted:Dec 16 2022
Automating with PowerShell: Deploying Microsoft Teams Templates
(cyberdrain.com)
ne of the biggest challenges we've faced when moving over our client base towards a cloud-only
By: Kelvin Tegelaar submitted:Jun 16 2022
ne of the biggest challenges we've faced when moving over our client base towards a cloud-only
infrastructure has been the development of Teams. Teams is amazing tool on it's own but there is a risk regarding governance and training, but also explosive growth of teams and the way these are implemented. Especially because Teams makes self-services super easy.
By: Kelvin Tegelaar submitted:Jun 16 2022
Connecting to Microsoft Teams & Skype for Business Online via PowerShell using the new Teams Module
(ucit.blog)
his guide will cover the command blocks that are needed to connect to Microsoft Teams and Skype for
By: Eric Marsi submitted:Jun 16 2022
his guide will cover the command blocks that are needed to connect to Microsoft Teams and Skype for
Business Online via PowerShell via two methods.
By: Eric Marsi submitted:Jun 16 2022
Convert Dynamic Distribution Lists to Teams
(office365itpros.com)
After writing about the recent revamp of Exchange Online dynamic distribution lists, I was asked if
By: Tony Redmond submitted:Jun 16 2022
After writing about the recent revamp of Exchange Online dynamic distribution lists, I was asked if
it was possible to create a team from the membership of a dynamic distribution list. The answer is that the steps are straightforward to create a static Microsoft 365 group. Things get more complicated if you contemplate using a dynamic Microsoft 365 group.
By: Tony Redmond submitted:Jun 16 2022
Copy-MSTeamsTeam
(github.com)
While Microsoft provides avenues to easily clone a Team whether using the Teams client or Graph
By: thetolkienblackguy submitted:Jun 16 2022
While Microsoft provides avenues to easily clone a Team whether using the Teams client or Graph
API's clone URL. The cloning isn't as robust as it could be, both avenues miss key components that an administrator may want to clone, like but not limited to private channels. This script not only copies the group's public channels, but its private channels, and private channel members including their correct roles. It's also been my experience while the Teams client will copy guest Teams members, using clone from the Graph API doesn't. This script, however, will.
By: thetolkienblackguy submitted:Jun 16 2022
Creating Adaptive Cards via Teams Incoming Webhooks Using PowerShell
(adamtheautomator.com)
Have you ever wanted to customize the look of Teams by easily creating your own cards in channels?
By: Adam Listek submitted:Jun 16 2022
Have you ever wanted to customize the look of Teams by easily creating your own cards in channels?
Using a concept called Adaptive Cards, Teams allows you to create and customize various cards in Teams via JSON. You could create them by typing up some JSON but it's much more fun to create them with incoming Teams webhooks and a little PowerShell!
By: Adam Listek submitted:Jun 16 2022
Errors Connecting to Skype for Business Online PowerShell Module
(jeffbrown.tech)
While Teams may have its own PowerShell module, many of the management tasks still reside in legacy
By: Jeff Brown submitted:Jun 16 2022
While Teams may have its own PowerShell module, many of the management tasks still reside in legacy
Skype for Business Online PowerShell. To connect to this service, you need to download and install the latest SkypeOnlineConnector module and create a remote PowerShell session to the service.
By: Jeff Brown submitted:Jun 16 2022
Find Microsoft Teams teams without an Owner, Teams Admin Center and PowerShell
(tomtalks.blog)
Let Tom help you keep your Teams deployment clean by identify any Teams without an owner.
By: submitted:Jun 15 2022
Let Tom help you keep your Teams deployment clean by identify any Teams without an owner.
By: submitted:Jun 15 2022
Find the Teams Meetings Attended by a Specific User Using PowerShell
(o365reports.com)
Ever wondered how much time your team members spend in Teams meetings? Or perhaps you're tasked with
By: Praba submitted:May 24 2024
Ever wondered how much time your team members spend in Teams meetings? Or perhaps you're tasked with
analyzing an individual's meeting activity within Teams. Look no further! In this blog, we'll explore the methods to obtain user-specific Teams meeting reports. Here, we'll also introduce a crafted PowerShell script that simplifies the process...
By: Praba submitted:May 24 2024
Graph and PowerShell Hiccups for the Groups and Teams Report Script
(office365itpros.com)
The Microsoft 365 Groups and Teams Activity Report is a PowerShell script that I've worked on since
By: Tony Redmond submitted:Mar 22 2024
The Microsoft 365 Groups and Teams Activity Report is a PowerShell script that I've worked on since
2016 (not all the time). Some recent Graph hiccups meant that I had to apply some fixes and workarounds. At the same time, some users hit the infamous 'not recognized as a valid datetime' problem, so another update was needed. All good, clean fun.
By: Tony Redmond submitted:Mar 22 2024
How to Delete Microsoft Teams Cache for All Users via PowerShell
(techcommunity.microsoft.com)
Sometimes there is a need to delete Microsoft Teams cache to quicken the adoption of an in-band
By: Anthony Bartolo submitted:Jun 16 2022
Sometimes there is a need to delete Microsoft Teams cache to quicken the adoption of an in-band
policy change or simply troubleshoot an issue. The challenge here is that the cache for Microsoft Teams is in multiple directories. This can be done manually but would result in a slow and tedious process. Again, we turn to PowerShell to automate this process and this time it's a one-liner that addresses this opportunity.
By: Anthony Bartolo submitted:Jun 16 2022
How to Export MS Teams Chat History with PowerShell
(woshub.com)
In this article, we'll look at how to access and export the history of Microsoft Teams chat
By: Windows OS Hub submitted:Dec 8 2023
In this article, we'll look at how to access and export the history of Microsoft Teams chat
conversations using PowerShell.
By: Windows OS Hub submitted:Dec 8 2023
How to Find Teams Channels With a Wiki Tab
(office365itpros.com)
Microsoft plans to replace the Teams wiki with OneNote and will release a migration app to move
By: Tony Redmond submitted:Jan 27 2023
Microsoft plans to replace the Teams wiki with OneNote and will release a migration app to move
content from wiki to OneNote. That's great, but you need to know what channels include the wiki tab before you can decide what material should be migrated. This article explains how to use PowerShell to create a report of Teams channel tabs for wikis.
By: Tony Redmond submitted:Jan 27 2023
How to Hide Teams-Enabled Groups from Exchange Online
(office365itpros.com)
Microsoft intends for groups created for new MicrosoftTeams to be hidden from Exchange Online. Many
By: Tony Redmond submitted:Jun 16 2022
Microsoft intends for groups created for new MicrosoftTeams to be hidden from Exchange Online. Many
are not. If you want to hide all the groups used by Teams, here's how to do the job with PowerShell
By: Tony Redmond submitted:Jun 16 2022
How to Manage Microsoft Teams via PowerShell
(techcommunity.microsoft.com)
Microsoft Teams usage has increased greatly during the current pandemic. All types of organizations
By: Anthony Bartolo submitted:Jun 16 2022
Microsoft Teams usage has increased greatly during the current pandemic. All types of organizations
are using the communications tool to stay connected with its employees and customers alike. The increase of use has also resulted in an increase of demand of system administrator's time to manage Microsoft Teams. Everything from adding users and groups to managing policies of said users and groups can be managed via PowerShell. This post will highlight the foundations to get started and provide links to continue your automation through script writing journey.
By: Anthony Bartolo submitted:Jun 16 2022
How to Monitor Microsoft Teams using PowerShell Universal Dashboard
(starwindsoftware.com)
In this guide, I will describe how to create a PowerShell Dashboard using the PowerShell Universal
By: Nicolas Prigent submitted:Jun 15 2022
In this guide, I will describe how to create a PowerShell Dashboard using the PowerShell Universal
Dashboard module created by Adam Driscoll (PowerShell MVP), in order to monitor Microsoft Teams Cloud call queues.
By: Nicolas Prigent submitted:Jun 15 2022
How to Query and Change Teams User Presence Status with PowerShell
(woshub.com)
It may be necessary to check the user's presence status (Online/Away/Busy) in Microsoft Teams before
By: Windows OS Hub submitted:Oct 13 2023
It may be necessary to check the user's presence status (Online/Away/Busy) in Microsoft Teams before
performing a particular action for some integration scripts.
By: Windows OS Hub submitted:Oct 13 2023
Interpreting Audit Records for Teams Meeting Recordings (Again)
(office365itpros.com)
Three years ago, I wrote a script to analyze the audit records generated for Teams meeting
By: Tony Redmond submitted:Jun 14 2024
Three years ago, I wrote a script to analyze the audit records generated for Teams meeting
recordings. Then things changed in terms of how the audit records were generated and how the Search-UnifiedAuditLog cmdlet returns audit search results. All of which meant that considerable work was needed to revamp (rewrite) the script. Maybe you need to check any script that uses the Search-UnifiedAuditLog cmdlet too?
By: Tony Redmond submitted:Jun 14 2024
Keep Microsoft Teams status Available instead of away using PowerShell
(powershellisfun.com)
It is one of the things I hear my colleagues, and even my girlfriend, mention regularly... Why does
By: Harm Veenstra submitted:May 24 2024
It is one of the things I hear my colleagues, and even my girlfriend, mention regularly... Why does
Microsoft Teams think I'm away while I'm not / My PC isn't locked yet... I read a few solutions, setting your status duration to a date in the future, etc... Didn't work 🙁 What does work is running my simple PowerShell scripts, which I will show you in this blog post 🙂
By: Harm Veenstra submitted:May 24 2024
Keeping Teams Tidy Through Automation
(practical365.com)
With a relatively small amount of effort, the provisioning of Teams in an organization can be
By: Sean McAvinue submitted:Jun 9 2023
With a relatively small amount of effort, the provisioning of Teams in an organization can be
automated to cater to the requirements of the business, as well as IT. In this article, Sean McAvinue goes over keep your Teams tidy through some useful tips and PowerShell code.
By: Sean McAvinue submitted:Jun 9 2023
Microsoft Releases V2.3.0 of the Teams PowerShell Module
(office365itpros.com)
On April 30, 2021, Microsoft published V2.3.0 of the Microsoft Teams PowerShell module in the
By: Tony Redmond submitted:Jun 16 2022
On April 30, 2021, Microsoft published V2.3.0 of the Microsoft Teams PowerShell module in the
PowerShell Gallery. Welcome as any update is, the publication was unaccompanied by any announcement or notification, and Microsoft didn't up date the release notes for the module until late on May 3. Even with the release notes, we don't know exactly what V2.3.0 contains, so it's time for inspired interpre...
By: Tony Redmond submitted:Jun 16 2022
Microsoft Teams PowerShell Module 4.x.x is the only version supported now
(docs.microsoft.com)
Microsoft Teams PowerShell Module (TPM) versions in the 4.x.x series or later are the only versions
By: Microsoft submitted:Jun 17 2022
Microsoft Teams PowerShell Module (TPM) versions in the 4.x.x series or later are the only versions
supported now. All earlier versions are fully retired since June 15, 2022 & will stop working (Message center post for reference - MC350371).
By: Microsoft submitted:Jun 17 2022
Microsoft Teams Reporting using PowerShell
(o365reports.com)
Recently, Microsoft Teams' usage has been increasing tremendously. This increased the need of
By: Kathy Cooper submitted:Jun 16 2022
Recently, Microsoft Teams' usage has been increasing tremendously. This increased the need of
generating reports on Microsoft Teams on daily basis. Most admins and executives want to prepare reports on the number of meetings between users, meeting participants, call times, and more. But Microsoft is yet to provide the cmdlets or API to extract those data from Office 365.
By: Kathy Cooper submitted:Jun 16 2022
Microsoft Teams Speed Dial Contacts Provisioning
(alexholmeset.blog)
Have you ever thought that it might be handy to provision a curated speed dial list for your
By: Alexander Holmeset submitted:Jun 16 2022
Have you ever thought that it might be handy to provision a curated speed dial list for your
end-users to get started with when they are onboarded to Microsoft Teams?
By: Alexander Holmeset submitted:Jun 16 2022
MicrosoftTeams 1.0.0
(powershellgallery.com)
A PowerShell module for MicrosoftTeams is now available!
By: submitted:Jun 15 2022
A PowerShell module for MicrosoftTeams is now available!
By: submitted:Jun 15 2022
Modifying the Teams Tenant Federation Configuration with PowerShell
(office365itpros.com)
A new parameter for the Set-CsTenantFederationConfiguration cmdlet made me look at the Teams tenant
By: Tony Redmond submitted:Apr 12 2024
A new parameter for the Set-CsTenantFederationConfiguration cmdlet made me look at the Teams tenant
federation configuration again to improve how a script works. Instead of taking all the domains guest accounts came from and adding them to the configuration, I created a function to check if the tenant uses Microsoft 365. If it does, we add the tenant to the allow list in the tenant federation configuration. If not, we ignore the domain.
By: Tony Redmond submitted:Apr 12 2024
Mohrpheus78/Microsoft/Teams User Settings.ps1
(github.com)
Change MS Teams user settings for Teams VDI app with Powershell
By: Dennis Mohrmann submitted:Jun 16 2022
Change MS Teams user settings for Teams VDI app with Powershell
By: Dennis Mohrmann submitted:Jun 16 2022
Monitor and Report Additions to Teams Membership
(office365itpros.com)
A question about how to report specific changes to Teams memberships gave another excuse to use
By: Tony Redmond submitted:Aug 25 2023
A question about how to report specific changes to Teams memberships gave another excuse to use
PowerShell with the unified audit log to deliver a solution. The idea is that you can check audit log entries to see when specific user accounts join the membership of Teams. Once you've found that data, it's a simple matter of creating email to share the results. All done with a few lines of PowerShell...
By: Tony Redmond submitted:Aug 25 2023
MS Teams Uninstall – Reinstall
(reddit.com)
Here is my script, it is uninstall MS Teams with update.exe --uninstall, Remove this folder:
By: u/jaqb7 submitted:Jun 16 2022
Here is my script, it is uninstall MS Teams with update.exe --uninstall, Remove this folder:
'C:Users\AppDataRoamingMicrosoftTeams', Clear this registry entry 'HKCU:SoftwareMicrosoftOfficeTeamsPreventInstallationFromMsi', download Teams installer to c:temp as teams.exe, execute teams.exe --silent
By: u/jaqb7 submitted:Jun 16 2022
New upcoming participant report feature on Microsoft Teams meetings is going to be disabled by default.
(twitter.com)
Admins can enable it by setting Meeting Policy with #PowerShell: Set-CSTeamsMeetingPolicy - Identity
By: Matti Paukkonen submitted:Jun 15 2022
Admins can enable it by setting Meeting Policy with #PowerShell: Set-CSTeamsMeetingPolicy - Identity
Global - AllowEngagementReport "Enabled"
By: Matti Paukkonen submitted:Jun 15 2022
Office Connectors Retirement for Teams
(office365itpros.com)
In June, Microsoft retired Office Connectors for SharePoint Online and Microsoft 365 Groups.
By: Tony Redmond submitted:Jul 12 2024
In June, Microsoft retired Office Connectors for SharePoint Online and Microsoft 365 Groups.
Starting on August 15, they're retiring connectors for Teams. The problem is finding out which teams and channels have configured connectors. That's when PowerShell comes in handy, as we prove with a script to report which teams have connectors.
By: Tony Redmond submitted:Jul 12 2024
Posting Notifications About Inactive Mailboxes to Teams
(office365itpros.com)
From: Tony RedmondRecently, I posted?a Petri.com article?to report the availability of some new
By: submitted:Jun 15 2022
From: Tony RedmondRecently, I posted?a Petri.com article?to report the availability of some new
properties in the?Export-MailboxDiagnosticLogs?cmdlet. The properties record different kinds of mailbox activity and I included a script to generate a report based on the properties. The output is a CSV file that can be opened in Excel or imported in Power BI. All is well.
By: submitted:Jun 15 2022
PowerShell Microsoft Teams PowerShell Cheat Sheet
(lp.scriptrunner.com)
**Requires you to fill out a form** This is not a paid advertisment. This newsletter has been and
By: Script Runner submitted:Dec 2 2022
**Requires you to fill out a form** This is not a paid advertisment. This newsletter has been and
always will be ad free. It's just a cheat sheet that I thought was worth sharing.
By: Script Runner submitted:Dec 2 2022
Reporting Teams Channel Email Addresses
(office365itpros.com)
No Microsoft 365 admin portal will tell you about the set of email addresses assigned to Teams
By: Tony Redmond submitted:Aug 26 2022
No Microsoft 365 admin portal will tell you about the set of email addresses assigned to Teams
channels. Fortunately, it's relatively easy to create a report with PowerShell and just a little Graph magic.
By: Tony Redmond submitted:Aug 26 2022
Sending Urgent Teams Chats with PowerShell
(office365itpros.com)
A reader asked if it is possible to script sending chat messages. In this article, we explore how to
By: Tony Redmond submitted:Apr 26 2024
A reader asked if it is possible to script sending chat messages. In this article, we explore how to
compose and send Teams urgent messages to a set of recipients using Microsoft Graph PowerShell SDK cmdlets. The conversation with each recipient is a one-to-one chat that Teams either creates from scratch or reuses (if a suitable one-on-one chat exists).
By: Tony Redmond submitted:Apr 26 2024
Setting up PoshBot for Microsoft Teams
(thelazyadministrator.com)
PoshBot is a chat bot written in PowerShell and created by DevBlackOps. ?It makes
By: submitted:Jun 15 2022
PoshBot is a chat bot written in PowerShell and created by DevBlackOps. ?It makes
extensive use of classes introduced in PowerShell 5.0. PowerShell modules are loaded into PoshBot and instantly become available as bot commands.
By: submitted:Jun 15 2022
Some fun with teams PowerShell module
(blog.it-koehler.com)
You may have found my old article from june 1st 2018. Some time has passed since this article was
By: Alexander Koehler submitted:Jun 16 2022
You may have found my old article from june 1st 2018. Some time has passed since this article was
released. Yes I know there is a overview in Teams Admin Center, but I thought it would be nice to do this and some kind more via PowerShell Module. So I picked up the script and build it again with the organic PowerShell Module for Teams.
By: Alexander Koehler submitted:Jun 16 2022
Teams Meeting Tenant To Tenant Migration
(alexholmeset.blog)
I have seen and done several tenant to tenant migrations lately. You can migrate both Exchange and
By: Alexander Holmeset submitted:Jun 16 2022
I have seen and done several tenant to tenant migrations lately. You can migrate both Exchange and
Teams. But there's one problem, when you migrate a Teams meeting event from Exchange to a new tenant, the URLs and other information still points to the old tenant. If you then disable all the users in the old tenant, those meetings would be useless even if guests are auto accepted to join, as they would not exist anymore. There would be various other problems also trying to join a meeting in the old tenant.
By: Alexander Holmeset submitted:Jun 16 2022
Teams PowerShell [001]
(powershellgeek.com)
I've decided to see what I can do with PowerShell to manage and work with this setup . and blogging
By: Damian Scoles submitted:Jun 15 2022
I've decided to see what I can do with PowerShell to manage and work with this setup . and blogging
about it! So this will be an entire series on Teams PowerShell - including interlocking aspects like Skype, Azure AD and Exchange PowerShell.
By: Damian Scoles submitted:Jun 15 2022
Teams Updates PowerShell Module for Private Channels
(office365itpros.com)
Microsoft released support for private channels on November 4 (also see this note about managing
By: Tony Redmond submitted:Jun 15 2022
Microsoft released support for private channels on November 4 (also see this note about managing
private channels). Support for PowerShell access to private channels is not yet available in the publicly available version of the Teams PowerShell module. Instead, if you want to work with private channels through PowerShell, you must install the latest version of the Teams module from the PowerShell test gallery. You need to run version 1.0.18 or better to manage private channels.
By: Tony Redmond submitted:Jun 15 2022
Upgrading the Microsoft 365 Groups and Teams Membership Report Script
(office365itpros.com)
The Microsoft 365 Groups Report (membership of groups and teams) originally used the Azure AD and
By: Tony Redmond submitted:Jan 20 2023
The Microsoft 365 Groups Report (membership of groups and teams) originally used the Azure AD and
Exchange Online PowerShell modules. Now its code uses only cmdlets from the Microsoft Graph PowerShell SDK. It's an example of the kind of update that many organizations are going through due to the upcoming deprecation of the Azure AD and MSOL modules.
By: Tony Redmond submitted:Jan 20 2023
Using PowerShell to Post Channel Messages with Teams Workflows
(office365itpros.com)
The incoming webhook connector is a popular method to post information to Teams channels, but
By: Tony Redmond submitted:Jun 21 2024
The incoming webhook connector is a popular method to post information to Teams channels, but
Microsoft seems set on retiring the Office connectors. The Teams post to channel workflow when a webhook request is received seems like is a possible replacement, but it's not just a matter of switching mechanisms. Some PowerShell magic is needed to create a suitable adaptive card to post to the channel, which is exactly what we explain how to do here.
By: Tony Redmond submitted:Jun 21 2024
Using the Get-TeamAllChannel Cmdlet
(office365itpros.com)
Version 4.6 of the Microsoft Teams PowerShell module includes the Get-TeamAllChannel cmdlet. As the
By: Tony Redmond submitted:Aug 5 2022
Version 4.6 of the Microsoft Teams PowerShell module includes the Get-TeamAllChannel cmdlet. As the
name implies, the cmdlet returns details of all channels in a team (regular, private, and shared). To see what it does, we wrote a script to report all the channels in teams in a tenant.
By: Tony Redmond submitted:Aug 5 2022
Working with Teams Messaging Using the Microsoft Graph PowerShell SDK
(practical365.com)
This article describes how to use the Microsoft Graph PowerShell SDK to interact with Teams
By: Tony Redmond submitted:May 31 2024
This article describes how to use the Microsoft Graph PowerShell SDK to interact with Teams
messaging to create new one-to-one and group chats and post messages to chats and channel conversations.
By: Tony Redmond submitted:May 31 2024