Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 7025

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 2162

Deprecated: Hook imagify_allow_picture_tags_for_webp is deprecated since version 2.2! Use imagify_allow_picture_tags_for_nextgen instead. in /www/collab365_296/public/wp-includes/functions.php on line 5758
How to invite external users using SharePoint Designer Workflows in Office 365 (Online) - Collab365
Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Warning: Undefined array key "url" in /www/collab365_296/public/wp-content/plugins/thrive-visual-editor/thrive-dashboard/inc/smart-site/classes/class-tvd-smart-shortcodes.php on line 85

2015-03-06

In this article, I want to review a part of Customer Collaboration System, which can be used to share documents with clients and cooperative work on common projects. This ‘proof of concept’ was build using SharePoint Online and Plumsail Workflow Actions Pack.

Architecture description

Core of our system is a simple document library which contains different folders, each folder matches to one of clients and contains common documents (and other folders) which will be available for a client. The permission restriction will be carried out with help of SharePoint Groups. For each of our clients will be created own SharePoint group. Each folder in the document library will be matched to SharePoint group by name.

All internal logic concluded in two workflows, which start on “Item Creation” event. Additionally we will have two custom lists: “Companies” and “Contacts”. We will use these lists as dictionaries to store information about clients. “Contacts” list contains user email and lookup to “Companies” List.

The common architecture scheme I have provided below:

Invite External Users SharePoint Online

How does it look for end user?

For example, we want to share contract with our contractor. Firstly, we need to add contractor’s company in “Companies” list and add a couple of contractor’s employee into “Contacts” list. Right after that, we can upload any documents inside contractor’s folder in the documents library. All contractor’s employee will get an email invitation that look like at the figure below and will have access to shared documents.

Invite External Users SharePoint Online Invitation

Create new Company workflow

The “Create new company” workflow is very simple it does only three things:

  • Creates new SharePoint group with name of company;
  • Creates new folder in “Documents” library;
  • Grants permission on created folder;

This workflow is configured to start on list item creation in “Companies” list.

Invite External Users SharePoint Online Workflow

There is only one moment on which I want to pay attention, it is parameter “Folder ID”. It was filled the following way. We need to know folder ID to grant permission to folder by a workflow action.

Invite External Users SharePoint Online Workflow

Invite External Users Workflows

There is another very simple workflow, which contains only a few Workflow Action, please pay attention that I used Invite External Users workflow action.

This workflow is configured to start on list item creation in “Companies” list.

Invite External Users SharePoint Online Workflow

Before using this workflow action please turn on option “Allow external users who accept sharing invitations and sign in as authenticated users” in site collection administration interface (usually it at the following URL: “https://yousite-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx”).

Conclusion

In this short article I briefly reviewed a part of implementation of Custom Collaboration System, based on SharePoint Online and Workflow Actions Pack. I hope you will go ahead and do more complex systems. Additionally I want to mention that using external users allows you to save your money on licenses for Office 365 users.

Please feel free to comment the article, I am curious about your cases and implementations.

Original article is available in our blog.

(Visited 136 times, 1 visits today)

About the author 

Roman Rylov

Summit Bundle

Get 200+ hours of Microsoft 365 Training for 27$!

Master Office 365, Power Platform & SharePoint & Teams With 200+ Hours Of Training Videos and 108 Ebooks in the Collab365 Academy. This offer is insane and is only available for a limited period.