posts
Manage SharePoint Usage-Based Billing (UBB) with PowerShell
SharePoint Usage-Based Billing (UBB) lets a site use shared Copilot Credits for supported AI features, such as advanced autofill and faster document processing. When credits are unavailable, autofill can fall back to standard processing.
UBB is configured per site. A site owner or administrator can manage the Share Copilot Credits with this site setting in the SharePoint site’s settings experience. The following PowerShell example reports UBB status for SharePoint sites and optionally turns UBB off.
posts
SharePoint File/Folder hero link sharing settings update
Control who can share an item By default, users with edit access can also share a file or folder in the modern sharing experience. The Members can share setting controls this behavior for an individual item.
You can change this setting on an individual file or folder, giving you more granular control than the site-level setting used to restrict member sharing in the classic sharing experience.
Set the per-file sharing settings with PnP PowerShell The script below connects to one site and processes every item in its non-hidden document libraries, excluding the system libraries listed in the script.
posts
SharePoint Hero Link reset
Hero links are part of the new sharing experience in SharePoint Online. For an overview, see The new sharing experience is coming to SharePoint Online: What admins need to know.
If a hero link is compromised—for example, its audience is changed to Anyone and the link is overshared—you may need to revoke it. Unlike a traditional sharing link, a hero link cannot be deleted directly. Microsoft provides the Reset link option instead.