Skip to main content
Best answer

Adding use in Active Directory/Office365

  • November 12, 2020
  • 1 reply
  • 346 views

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?

Best answer by Bryan_from_workload

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

 

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Bryan_from_workload
Forum|alt.badge.img+1

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