Below you will find pages that utilize the taxonomy term “Permission”
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.
posts
SharePoint Hero Link Update
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 was changed to Anyone and the link is now overshared you may need to change its audience or role. The supported values include:
Audience
Anyone Organization OnlyPeopleAdded Role
view (Can view) restrictedview (Can’t download) review (Can review) edit (Can edit) Example request bodies to the endpoint:
posts
Audit Service Principal Access to SharePoint Sites with Sites.Selected Permissions
Ensuring the security and compliance of your SharePoint environment is crucial, especially when dealing with service principals, Entra ID apps, or federated identities. These entities often have elevated permissions that, if mismanaged, can lead to unauthorized access and potential data breaches. Regularly auditing these permissions is a best practice for maintaining a secure and compliant SharePoint environment.
Application only or granular access to individual site instead of whole tenant, scope called “Sites.
posts
Managing Service Principal Permission Requests using PowerShell
Managing Service Principal Permission Requests using PowerShell Permission to the “SharePoint Online Client” service principal can be granted either in declarative method within SPFx solutions or directly. This post explores how to handle both declarative and direct permission grants using SPO PowerShell , ClI for M365 and PnP PowerShell.
PnP PowerShell Get all service principal permission grants Gets the collection of permission grants for the “SharePoint Online Client” service principal using the cmdlet Get-PnPTenantServicePrincipalPermissionGrants