B2B Invite error
Hi,
Have been trying to invite some external users using the https://learn.microsoft.com/en-us/entra/external-id/bulk-invite-powershell.
When trying to run this line
$messageInfo = New-Object Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo
I get this error
New-Object: Cannot find type [Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo]: verify that the assembly containing this type is loaded.
I have tried uninstalling and reinstalling the Microsoft.Graph module.
Any ideas what I am doing wrong?
Thanks
Hi, Have been trying to invite some external users using the https://learn.microsoft.com/en-us/entra/external-id/bulk-invite-powershell.When trying to run this line $messageInfo = New-Object Microsoft.Open.MSGraph.Model.InvitedUserMessageInfoI get this errorNew-Object: Cannot find type [Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo]: verify that the assembly containing this type is loaded. I have tried uninstalling and reinstalling the Microsoft.Graph module.Any ideas what I am doing wrong? Thanks Read More