Skip to content

[FEATURE] Fully support Enable File Requests in SharePoint or OneDrive #3554

@nikki-c

Description

@nikki-c

Is your feature request related to a problem? Please describe.
Limited functionality

Describe the solution you'd like
I can use PnP to set the Request files at a tenant level for sites and OneDrive, e.g. Set-PnPTenant -CoreRequestFIlesLinkEnabled $True -CoreRequestFilesLinkExpirationInDays 14 -OneDriveRequestFIlesLinkEnabled $True -OneDriveRequestFilesLinkExpirationInDays 7
and also at the site level, e.g. Set-PnPSite -Identity $SiteURL -RequestFIlesLinkEnabled $True -RequestFilesLinkExpirationInDays 30

However, Get-PnPTenant and Get-PnPSite do not return the current values, so I must revert to SharePoint Online PowerShell.

Describe alternatives you've considered
You can use SharePoint Online PowerShell as described https://learn.microsoft.com/en-us/sharepoint/enable-file-requests
Get-SPOTenant | Format-List CoreRequestFIlesLinkEnabled, CoreRequestFilesLinkExpirationInDays, OneDriveRequestFIlesLinkEnabled, OneDriveRequestFilesLinkExpirationInDays
Get-SPOSite -Identity $SiteURL | Select-object url, RequestFIlesLinkEnabled, RequestFilesLinkExpirationInDays

Additional context
Screenshot of sunning Get-PnPSite and Get-SPO site
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions