Invite guest user action allows you to create an invitation for the external user. The invitation is used to add external users to the organization. On invitation creation, the invited user is added as an external user to the Microsoft Entra ID. To access any resources the invited user has to go through the redemption process.
Note 1: You need to grant permission to the invited user to access the resource.
Note 2: Ensure that there are no restrictions on inviting guest users, read more in Collaborate with guests in a site article for external collaboration settings.
Note 3: It is required to approve API access request with 'User.Invite.All' permissions in SharePoint admin center in order to use in Modern Forms, List Actions, Automation Actions.
Example of Invite guest user action configuration on the current site
For more information about Action Builder read Action Builder introduction article.
Note 1: In order to use the Invite guest user action in Scheduled/Triggered Actions skybow Users Connector has to be approved by a tenant administrator and site has to be added to Approved sites list before this action can be used. Learn more about skybow M365 Connectors
Note 2: When you deploy the solution to another SharePoint tenant, it requires approval of skybow Users Connector on the deployment tenant as well.
To configure the action Invite guest user additional properties should be specified:
Configuration
Property | Required | Type | Description |
Emails to invite | yes | String | Email address or an expression to be evaluated as an email address of the users you want to invite. Email address should be separated with ',' if you invite more than one user. |
Redirect url | yes | String | The URL that the user will be redirected to after redemption |
Automatically send email | no | Boolean |
|
Email message | no | String | Custom message that would be added to the invitation email body |
Availability
Modern Forms | List Actions | Scheduled/Triggered Actions |
✓ | ✓ | ✓ |
Output
Output Parameter | Type | Description |
InvitedEmails | Array of strings | Returns the email(s) of the receiver(s) |
InvitationLinks | String | Returns the invitation link |
FailedEmails | Array of strings | Returns the email(s) of failed invitation |