Programmtically invite external users to SharePoint Online site.

%3CLINGO-SUB%20id%3D%22lingo-sub-15087%22%20slang%3D%22en-US%22%3EProgrammtically%20invite%20external%20users%20to%20SharePoint%20Online%20site.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-15087%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20a%20requirement%20to%20automate%20the%20process%20of%20inviting%20external%20users%20to%20SharePoint%20Online%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20invite%20external%20users%20using%20CSOM%20on%20a%20SharePoint%20Online%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20share%20any%20insights%20and%20working%20approaches%20on%20the%20same.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20already%20tried%20using%20CSOM%20and%20get%20an%20error%20that%20the%20user%20could%20not%20be%20found.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20let%20me%20know%20if%20you%20need%20nay%20further%20information.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EArun%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-15357%22%20slang%3D%22en-US%22%3ERe%3A%20Programmtically%20invite%20external%20users%20to%20SharePoint%20Online%20site.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-15357%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Dean%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInformation%20seems%20really%20useful.%20But%20might%20not%20be%20needed%20currently%20for%20requirement.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EArun%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-15356%22%20slang%3D%22en-US%22%3ERe%3A%20Programmtically%20invite%20external%20users%20to%20SharePoint%20Online%20site.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-15356%22%20slang%3D%22en-US%22%3E%3CP%3EThanks!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExactly%20what%20I%20was%20looking%20for.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-15348%22%20slang%3D%22en-US%22%3ERe%3A%20Programmtically%20invite%20external%20users%20to%20SharePoint%20Online%20site.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-15348%22%20slang%3D%22en-US%22%3E%3CP%3EAzure%20B2B%20can%20help%20you%20do%20that%2C%20see%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fdocumentation%2Farticles%2Factive-directory-b2b-collaboration-overview%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fdocumentation%2Farticles%2Factive-directory-b2b-collaboration-overview%2F%3C%2FA%3E%26nbsp%3Band%20there%20is%20a%20nice%2010%20minute%20video%20at%20%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWo5J61Hp_Z0%26amp%3Bindex%3D13%26amp%3Blist%3DPLXtHYVsvn_b_v4EKljH6dGo9qJ7JjItWL%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWo5J61Hp_Z0%26amp%3Bindex%3D13%26amp%3Blist%3DPLXtHYVsvn_b_v4EKljH6dGo9qJ7JjItWL%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-15265%22%20slang%3D%22en-US%22%3ERe%3A%20Programmtically%20invite%20external%20users%20to%20SharePoint%20Online%20site.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-15265%22%20slang%3D%22en-US%22%3EHi%2C%20you%20can%20try%20the%20CSOM%20as%20described%20in%20below%20link%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fblog.beecomedigital.com%2F2015%2F09%2F17%2Fshare-your-sharepoint-sites-with-external-users-using-csom%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.beecomedigital.com%2F2015%2F09%2F17%2Fshare-your-sharepoint-sites-with-external-users-using-csom%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

We have a requirement to automate the process of inviting external users to SharePoint Online site.

 

Is it possible to invite external users using CSOM on a SharePoint Online site.

 

Please share any insights and working approaches on the same.

 

We have already tried using CSOM and get an error that the user could not be found.

 

Please let me know if you need nay further information.

 

Regards,

Arun

4 Replies
Azure Active Directory B2B collaboration is a new service that simplifies the sharing of App resources with your external users, such as partners and vendors...

Thanks!!

 

Exactly what I was looking for.

Thanks Dean,

 

Information seems really useful. But might not be needed currently for requirement.

 

Regards,

Arun