Get-SPOSiteUserInvitations

Searches against all stored sharing links and retrieves the email invites.

Syntax

Get-SPOSiteUserInvitations
   [-Site] <SpoSitePipeBind>
   [-EmailAddress] <string>
   [<CommonParameters>]

Description

Searches against all stored sharing links on a Site and retrieves the email invites.

Examples

Example 1

Get-SPOSiteUserInvitations -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

-EmailAddress

Email Address of the user.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Site

Specifies the URL of the site collection.

Type:SpoSitePipeBind
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online