Action: Create invite

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 access any resources the invited user has to go through the redemption process. 
NoteYou need to grant permission to the invited user to access the resource.

Example of Create invite action configuration on the current site




For more information about Action Builder read Action Builder introduction article.

Note 1: In order to use the action in Scheduled/Triggered Actions Teams 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. 
Note 2: When you deploy the solution to another SharePoint tenant, it requires approval of Teams Connector on the deployment tenant as well.

To configure the action additional properties should be specified:

Configuration

PropertyRequiredTypeDescription
Emails to inviteyesStringEmail 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 urlyesStringThe URL that the user will be redirected to after redemption
Automatically send emailnoBoolean
  • Yes - Automatically send email
  • No - Email will not be send
  • Custom Value - expression based value (the result should return true of false)
Email messagenoStringCustom message that would be added to the invitation email body

Availability

Modern FormsList ActionsScheduled/Triggered Actions
--

 

Output

Output ParameterTypeDescription
InvitedEmailsArray of stringsReturns the email(s) of the receiver(s)
InvitationLinksStringReturns the invitation link
FailedEmailsArray of stringsReturns the email(s) of failed invitation

CreateInviteOutput.png


    • Related Articles

    • Action: Clone team

      Clone team action allows to create a copy of an existing Microsoft team with the specified configuration options. You can select what to include in the copy: apps, channels, members and tabs. Example of Clone team action configuration on the current ...
    • 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 ...
    • 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: Create channel

      Create channel action allows automatically create a Standard, Private or Shared channel in ‎ Microsoft Teams. Example of Create channel action configuration on the current site For more information about Action Builder read Action Builder ...
    • Action: Create retention label

      Create retention label action allows to create a retention label for the items/documents that need exceptions to your retention policies. Exceptions include extending the retention period for specific items/documents or preventing certain ...