Skip to content

[FEATURE] Add ability to set ExpirationDateTime on Add-PnPFolderUserSharingLink #5484

Description

@cjj8Finch

Is your feature request related to a problem? Please describe.
I'd like the ability to add an expiration date to a link generated by Add-PnPFolderUserSharingLink. This would bring parity with the expiration date abilities available with the ExpirationDateTime parameter featured in Add-PnPFolderSharingInvite and Add-PnPFolderAnonymousSharingLink neither of which allow you to share a link with a specific email and retrieve a link which you can then provide to the user.

Describe the solution you'd like
Add ExpirationDateTime parameter to Add-PnPFolderUserSharingLink please.

Describe alternatives you've considered
As far as I'm aware there is not an alternative that would allow you to retroactively set an expiration date on an already generated link.

Additional context
N/A

Activity

  1. self-assigned this
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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