posts
Copilot Studio: Convert Table Variable to String from Adaptive Card to Agent Flow
Introduction When building solutions in Copilot Studio, you may use Adaptive Cards to collect multi-choice input from users. The selected values from a multi-select field are stored as a table variable. However, if you want to pass these values to an Agent Flow (for example, to create a SharePoint list item), you need to convert the table variable into a single string.
This post shows how to concatenate the selected values from a multi-choice Adaptive Card field into a semicolon-separated string using the concat function in a Set Variable value action within your topic.
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 Safely Rename a SharePoint Hub Site URL with PnP PowerShell
📝 Introduction
Renaming a SharePoint Hub Site URL or title is not a straightforward process. A hub site can not be renamed directly. Instead, the hub site needs to be unregistered before performing the rename, and then re-register it as a hub. This ensures the integrity of the hub structure and keeps associated sites intact.
This post provides a step-by-step PowerShell script using PnP PowerShell to automate the process, including cleanup of redirect sites and validation of associated sites.