Skip to content


The ability invite an external user via the invitation manager


Invokable Banner Selective Imports Banner

Scenario Import Statement
Selective import { graph } from "@pnp/graph";
import "@pnp/graph/invitations";
Preset: All import "@pnp/graph/presets/all";

Create Invitation

Using the invitations.create() you can create an Invitation. We need the email address of the user being invited and the URL user should be redirected to once the invitation is redeemed (redirect URL).

import { graph } from "@pnp/graph";
import "@pnp/graph/invitations"

const invitationResult = await graph.invitations.create('', '');