The New-AzureADMSInvitation
cmdlet doesn’t have -InvitedUserOrganizations
and -InvitedUserJobTitle
parameters.
$email = "email"
$displayName = "FN LN"
$sendInviteMessage = $true
$userType = "Guest"
New-AzureADMSInvitation -InvitedUserEmailAddress $email -InvitedUserDisplayName $displayName -SendInvitationMessage $sendInviteMessage -InvitedUserType $userType.
# If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".