Force Send External Invite Email

Brass Contributor

We have several accounts in AD that are assigned to outside contractors, all of which have an assigned email address in the Email field (for example, let's say one of the problematic individuals is user@domain.xyz):

EmailAddress : user@domain.xyz
Enabled : True
UserPrincipalName : user@anotherdomain.xyz

 

This causes an issue in SharePoint Online when we try to send an external site invite to the user@domain.xyz email address, as the people picker-like control resolves the email address to the "internal" account, no matter what:

jnlce_0-1582903384642.png

 

My question: Is there anyway to force an external invite email to go to the email address, instead of it resolving to the "internal" account?  We can't change the current setup in AD as other applications, unfortunately, rely on it.

Steps I have tried:

  • POST'ing ShareObject via /_api/SP.Web.ShareObject (sends to "internal" account)
  • POST'ing a ShareObject via /_vti_bin/client.svc/ProcessQuery (sends to "internal" account)
1 Reply

@jnlce 

 

Have you tried adding them as a "New Guest User" in azure AD? Call the account something like External Joe Bloggs so you can resolve them correctly in SharePoint.