Vladi Gubler
Vladi Gubler
February 11, 2014

Hi,

Today I would like to focus on one particular action type of Smart Action Pro: Manage Active Directory. This action allows you to:

  • Create users in AD
  • Update users in AD
  • Enable/disable users
  • Reset passwords
  • Add/remove users to AD security groups and distribution lists
  • Create security groups and distributions lists
  • Delete security groups and distribution lists

What do we need? Well, Smart Action Pro of course. One of our most versatile products offers 16 different action types, all of which are configured right in the browser and allow you accomplish anything in SharePoint, without any need for custom development.

The second thing you need is to grant the SharePoint's application pool account management right on an organizational unit (OU) within your Active Directory, to allow it to create and update users.

And the third thing - a list in SharePoint we are going to use to create and update our users. I chose to use a Contacts list as it already contains most of the columns I need, all I did was just add a couple more: Username and Password.

Our example will do two things:

  1. Create a new user in AD when a new item is added to the list.
  2. Reset existing user's password when a list item is updated with a new password.

So let's begin. First of all we need to create an action column. Go to List Settings -> Infowise Actions Settings, there simply click OK under Action Columns. It will add the action column, so we can start adding actions.

Our first action is going to be Create User (type: Manage Active Directory). Set the action to run on New. Under Action Settings select "Create User" as action type, enter your Active Directory connection information (directory type and name and OU path). Next map the list columns to the AD properties. Use the value picker (icon to the right of each field) to select columns rather than typing them in.

Create user action

Save the action. Now every time you add an item to the list, a user is created in Active Directory.

But wait, the password is clearly visible to anyone with access to the list, not much of a security system. Luckily, we can easily fix that as well. Let's add an action to clear the password field value as soon as we are done using it. We'll be using Update list item type of action for that:

Clear password

And the last thing we want to implement is the ability to reset password. Add another Manage Active Directory action and set it to run on Edit.

In the Action Settings select Reset Password action type and map the necessary fields:

Reset password

One more thing is needed here and that's a condition to only run this action when users actually enter the new password:

Reset password condition

Now let's test it! Enter user data into the list:

User details

Save and check your Active Directory. Presto! A new user has been added:

New user

Now edit the user in the SharePoint list and enter a new password, your Active Directory user will be updated the second you save your changes to the list.

In summary, we covered just a fraction of what Smart Action Pro is capable of. It's the best tool when you need to accomplish advanced tasks but do not want to delve into the bits and bytes of software developments :).

Loading...

Add your comment

Comments are not meant for support. If you experiencing an issue, please open a support request.
Build powerful business applications in SharePoint using only your browser.
100% No-Code Solution
It’s never been easier to create, innovate, and share. All you need is your web browser!
Cost-Effective
Address business process pain points immediately. Save time and money.
Fantastic Support Team
In addition to our responsive support team, a wide variety of resources, documentations, tutorials, blogs and webinars is available to you
ULTIMATEforms is a complete platform that enables everyone to easily create and maintain Microsoft SharePoint-based business solutions without a single line of code
Powerful Forms
State-of-the-art responsive forms, complete with tabs, permissions, dynamic rules, repeating sections, electronic signatures and advanced validation, powered by our AI-assisted form generator
Powerful Automation
Replace complex workflows with simple, but powerful actions to create and update data inside SharePoint and in a variety of integrated applications and databases
Powerful Reporting
Transform data into actionable insights with detailed exportable reports, sophisticated dashboards, color-coded calendars and dynamic charts
100’s of Templates
Build and replicate business solutions with ease, selecting from our vast free library and creating your own custom templates, all installed with a single click
Dive deeper
Watch a short introductory video showcasing the different unique capabilities of UltimateForms.
Ready to get started?
Hands-on training is the best way to get proficient. That's why we've created three unique training offerings which will help you master ULTIMATEFORMS. Our interactive sessions are delivered via web meetings and conducted within personal virtual workspaces.
100% No-Code Solution
It’s never been easier to create, innovate, and share. All you need is your web browser!
Cost-Effective
Address business process pain points immediately. Save time and money.
Fantastic Support Team
In addition to our responsive support team, a wide variety of resources, documentations, tutorials, blogs and webinars is available to you
Microsoft partner logo
© 2005-2024 Infowise Solutions Ltd. All rights reserved.
Privacy | Cookie Policy | Accessibility | Cloud SLA