Below you will find pages that utilize the taxonomy term “Teams”
posts
How to Hide the Files Tab in Microsoft Teams with PowerShell
Introduction By default, every Microsoft Teams channel includes a Files tab, which provides access to SharePoint and OneDrive storage. While you can’t rename the Files tab (see my post here), you can control its visibility using Teams Files Channel Policy settings.
In this post, I’ll demonstrate how to use PowerShell to hide or show the Files tab in Teams channels by configuring the SPChannelFilesTab and NativeFileEntryPoints policy settings.
Background Tony Redmond’s article, Teams Native Files Policy Disables SharePoint and OneDrive Access, explains how these policy settings work:
posts
How to Add a User as Owner to a Microsoft Teams Channel with PowerShell
Introduction When managing Microsoft Teams via PowerShell, you may need to assign a user as an owner of a specific channel. However, attempting to add a user directly as an owner can result in an error if the user is not already a member of the channel.
Example Error:
Add-TeamChannelUser -GroupId $t.GroupId -DisplayName TestPermission -User AdeleV@4g6zf4.onmicrosoft.com -Role Owner Add-TeamChannelUser: Failed to find the user: AdeleV@4g6zf4.onmicrosoft.com on the roster of channel: TestPermission.
posts
Limitations of OpenAPI Spec with Complex Objects in Copilot Declarative Agents
Introduction In a previous post, I detailed the steps for Building a Copilot Agent with Microsoft 365 Agents Toolkit and Microsoft Graph Plugin to list my ToDo Tasks. However, I encountered issues with the CreateTask function when using an OpenAPI spec generated with Kiota. Upon investigation, I identified the problem as being related to the handling of complex objects, particularly those involving dates. Even after simplifying the object structure, the CreateTask function continued to fail.
posts
Building a Copilot Agent with Microsoft 365 Agents Toolkit and Microsoft Graph Plugin to list my ToDo Tasks
Introduction This guide walks you through creating a Copilot agent using Microsoft 365 Agents Toolkit (previously known as Teams Toolkit) and Microsoft Graph API. By leveraging OpenAPI specifications, Kiota, and Microsoft 365 Agents Toolkit, you can build a plugin to interact with Microsoft Graph endpoints. I used the blog post Copilot Graph API QnA Plugin by Franck Cornu as inspiration with some variation to apply it to get my ToDo tasks.
posts
Troubleshooting Microsoft Graph Plugin Issues in Copilot Agents Built with Microsoft 365 Agents Toolkit
Introduction When building a Copilot agent using Microsoft 365 Agents Toolkit (previously known as Teams Toolkit), you may encounter certain errors that can hinder your progress. This blog post highlights common issues and provides solutions to help you resolve them effectively.
Common Issues and Fixes 1. name_for_human Exceeds 20 Characters Issue: You may encounter the following error when the name_for_human field in the ai-plugin.json file exceeds 20 characters:
name_for_human in PluginManifestDocument has characters beyond the length 20 that MAY be ignored.
posts
Overcoming Limitations of SharePoint Sites Associated with Teams Private and Shared Channels: Tips and Hacks
Introduction Microsoft Teams offers private and shared channels as specialized collaboration spaces to cater to different organizational needs. While these channels provide enhanced security and collaboration features, they come with specific limitations and management challenges, particularly around the associated SharePoint sites.
This post covers some limitations, and management tips for SharePoint sites associated with private and shared channels, including PowerShell hacks and governance practices to overcome these challenges.
Managing SharePoint Sites for Private and Shared Channels SharePoint sites associated with private and shared channels are special types of sites with the limitations as identified by Gregory in his blog post Why you should never mess with Private and Shared Channel SharePoint Sites related to the inability to attach to a hub directly, being accessible from the Teams interface mainly, and inability to manage permissions at the site level, and with constrained external sharing.
posts
Identifying Duplicate Microsoft 365 Group Names Using PowerShell
Introduction It is possible to create M365 Groups and Teams with the same name, and there is currently no built-in way to prevent this. The new Team/Site/M365 Group is created with a random number appended to the Team name for the SharePoint site and m365 Group email address.
Having duplicate names can cause confusion and increase risks, including:
Wrongly Granting Permissions: Users may accidentally grant permissions to the wrong M365 Group or Team, leading to unauthorized access.
posts
Update Teams Channel Tab display name using PnP PowerShell
Introduction Renaming the ‘Files’ tab in Microsoft Teams to something more meaningful for your business, such as “All Access,” can enhance user experience. It can help to differentiate other document libraries added as tabs. The Files has been renamed to Shared for chats to show all the files and links that were sent in the chat, making it easier to find them- all in one place. However, it is not possible to rename the Files and Posts tabs from the UI within channels.
posts
Prevent Guests from Being Added to a Specific Microsoft 365 Group or Microsoft Teams team using PnP PowerShell
Introduction By default, guest access for Microsoft 365 groups is enabled within the tenant. This can be controlled either to allow or block guest access at the tenant level or for individual Microsoft 365 groups / Teams. For more information, check out Manage guest access in Microsoft 365 groups.
PowerShell Script to Prevent Guest Access Below is a PowerShell script that allows you to disable/enable guest access for specific Microsoft 365 groups.
posts
Microsoft Teams - Teams icon missing in New chats & channels experience
Introduction If ever you had the chance to get your hands onto the New chats & channels experience, you may notice that the Teams icon is missing from the tray on the left To access the channels, it is an option within the chats.
Revert In case you find it confusing you can turn it off by following those steps
Click on the button Update, settings and more at the top of Teams
posts
Teamifying an Existing M365 Group with PowerShell
Teamifying an Existing M365 Group with PowerShell Within M365 , SharePoint and Teams together provides a rich collaboaration platform. When a team site is created from SharePoint admin centre, it is not associated with a Teams despite a M365 group is created in the background. To extend SharePoint collaboration features , there is a need to “teamify” an existing Microsoft 365 Group, essentially attaching a new Teams instance to it to allow use of channels and other apps.
posts
Retrieving SharePoint Site URL for Teams Channels
Retrieving SharePoint Site URL for Teams Channels Have you ever needed to construct the SharePoint site URL for a private or shared channel using just the channel name? This post will guide you through the process using Microsoft Graph endpoint and PnP PowerShell though PowerShell.
You may need the details for these reasons
To specify within a retention policy Purview Retention Policy Questions from the Field eDiscovery Extract from eDiscovery of private and shared channels “Each private and shared channel has its own SharePoint site that’s separate from the parent team site.
posts
Teams Add-in Not Showing Within Outlook
Teams Add-in Not Showing Within Outlook The add-in for setting up a teams meeting within the outlook application was no longer showing. The add-in was not available to be enabled within Outlook as per Troubleshoot the Teams Meeting add-in in Outlook for Windows. Even after reinstalling Teams or creating a new profile within Outlook, it did not fix the issue. As a workaround I was using
Use Team calendar to create meeting Use Outlook Web App to create meetings With Microsoft Support’s help via a case we identified the issue was the missing following key: