Get-PnPSiteUserInvitations
SYNOPSIS
Required Permissions
- SharePoint: Access to the SharePoint Tenant Administration site
Searches against all stored sharing links and retrieves the email invites
SYNTAX
Get-PnPSiteUserInvitations [[-Site] <SitePipeBind>] -EmailAddress <string>
DESCRIPTION
Searches against all stored sharing links on a Site and retrieves the email invites. If the site parameter is omitted the current site will be searched.
EXAMPLES
EXAMPLE 1
Get-PnPSiteUserInvitations -Site "https://contoso.sharepoint.com/sites/ContosoWeb1/" -EmailAddress someone@example.com
This example retrieves email invites stored in the ContosoWeb1 site to the user with email address someone@example.com.
PARAMETERS
-Site
Specifies the URL of the site collection.
Type: SitePipeBind
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EmailAddress
Email Address of the user.
Type: String
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False