Skip to main content
Nintex Community Menu Bar

I am creating Workflow and need to add external user to Azure AD

Hi Igor,


 


I am not sure if there could be a viable way allowing to add an external user to Azure AD.


 


When looking in K2 Cloud documentation, there isn’t a Workflow wizard step with capability to add an external user to AAD. See below K2 Cloud AAD Workflow wizard capabilities link.


 


https://help.k2.com/onlinehelp/k2cloud/userguide/update_2/default.htm#LegacyDesigntools/Workflow/Thin_Client_Wizards/AAD_Wizards/AADWizards.htm%3FTocPath%3DCreate%7CLegacy%2520Design%2520Tools%7CK2%2520Workflow%2520Designer%2520(Legacy%252FSilverlight)%7CWorkflow%2520Steps%7CWorkflow%2520Wizards%7CAzure%2520Active%2520Directory%2520Wizards%7C_____0


 


Regards,


Abraham.


Good day Igor

 

The 1st option to achieve this is to manually add an user to your Azure AD, please follow this link: https://docs.microsoft.com/en-us/azure/active-directory/b2b/add-users-administrator for more information.

 

Second option would be to create a workflow web API that will allow you to pragrammatically add a user to Azure AD please refer to this link: https://stackoverflow.com/questions/44756742/how-to-create-azure-ad-user-programmatically on how to go about adding a user pragrammatically to Azure AD using c#

 

Please use thiese link: 

https://help.k2.com/onlinehelp/k2five/devref/5.1/default.htm#Runtime/WF-REST-API/WF-REST-API.htm

https://help.k2.com/onlinehelp/k2five/devref/5.1/default.htm#Runtime/RuntimeAPIs-Intro.htm%3FTocPath%3DRuntime%2520APIs%2520and%2520Services%7C_____0

as a guide to making a workflow interact with a custom code.

 

Should this post be of use to you please mark it as a solution or give a kudo to help other forum members who might have a similar issue.

 

K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.

 

Thank You

 

Kind regards

Thabang