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
Automate SharePoint Document Set Configuration with PowerShell
Introduction Document Sets in SharePoint are a powerful way to manage groups of related documents as a single entity. They enable you to apply metadata, workflows, and permissions to a collection of documents, making them ideal for project folders, case files, or any scenario where you need to keep related content together.
This post shows how to automate the configuration of Document Sets across multiple libraries using PnP PowerShell.
Why Use Document Sets?
posts
Generate OpenAPI Spec for M365 Copilot Declarative Agent
Introduction After encountering issues with creating a To-Do task action in my previous attempt Building a Copilot Agent with Microsoft 365 Agents Toolkit and Microsoft Graph Plugin to list my ToDo Tasks, I explored various methods to generate an OpenAPI specification for M365 Copilot Declarative Agents using the Ms Graph OpenAPI spec. This post outlines the different approaches I tried, the challenges I faced, and the lessons learned.
Methods for Generating OpenAPI Specs 1.