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.
posts
Beware When Sharing Power Automate Flows: User Access to Connections
Introduction When you share a Power Automate flow with other users, especially flows that include actions like “Send an email”, you unintentionally grant them access to your personal connection.
If you share a flow that uses your Outlook connection, the other user can leverage your connection in their own flows. This means they could:
Read your user profile Read, update, and delete your emails Send mail as you (the signed-in user) Create, read, update, and delete calendar events Create, read, update, and delete contacts Security Risk Sharing flows without considering connection permissions can expose your account to unintended actions or even compromise your data.