Action: Invite guest user
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: 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 the action configuration on the current site
Note 1: In order to use the Invite guest user action in Scheduled/Triggered Actions Teamsware 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 Teamsware Users Connector on the deployment tenant as well.
To configure the action 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
|
- Yes
- Automatically send email
- No - Email
will not be send
- Custom Value -
expression based value (the result should return true of false)
|
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
|
Related Articles
Action: Create invite
Create invite 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 ...
Action: Get user profile
Get user profile action allows you to retrieve profile properties from selected user Example of configuration on the current site Note 1: In order to use the Get user profile action in Scheduled/Triggered Actions skybow Users Connector has to be ...
Action: Get user's SharePoint groups
Get user's SharePoint groups action allows you to retrieve all SharePoint groups of which the specified user is a member. Example of configuration on the current site For more information about Action Builder read Action Builder introduction article. ...
Action: Create shared link
Create shared link action allows you to create a link to an item in a list or a library to customize access to it to share it safely, securely, and only to the people you want to share it with. For more information about Action Builder read Action ...
Action Builder Introduction
The Teamsware Studio Action Builder is a tool that allows you to specify actions which are executed in consecutive order. You can build powerful workflows triggered from a form button, on form load, from a list view, scheduled or event triggered on a ...