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.
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.