Use this type for transfering identity rights, for instance after performing a Tenant switch.

interface GraphUserPrincipalNameUpdateContext {
    principalName: string;
    storageKey?: string;
}

Hierarchy (View Summary)

Properties

principalName: string

This should be Principal Name (UPN) to which we want to transfer rights. Example: destination@email.com

storageKey?: string

Storage key should not be specified in case of updating user