Skip to main content

Hi Everyone - 

Looking to see if anyone has any insight on what I am trying to accomplish. 

 

Basically:

When a new entry is received in a specific form in CognitoForms then I want to create a user in Microsoft Office 365 Admin Active Directory.

 

Any idea if this is possible?

Hi there,

 

Of course you can! If it has an API, it’s possible. 

 

Here’s Microsoft’s documentation on creating a new user in AD.

 

https://docs.microsoft.com/en-us/graph/api/resources/azure-ad-overview?view=graph-rest-1.0

 

After reading through it, 99% of the work is actually just setting up your application token, authentication, etc. in the cloud prior to being able to even use the admin API to create users. 

Once you get your “application” up and running/authenticated, you just have to use the custom webhook function in Zapier to call the “invite” API using the data from your Cognito Form.

https://docs.microsoft.com/en-us/graph/api/resources/invitation?view=graph-rest-1.0

 

Best of luck!

 

Bryan from workload