I have a Powershell script that is generating some information and saving it to a SQL table. Is there some way to save that information into a field in AD using Adaxes?
In our job, we have an internal program that needs a unique username in a specific format. So, the AD username cannot be this value. I am currently generating the username and placing it in the needed SQL table using a Powershell query in Adaxes, but that means we need to view/query the table manually to get the result. We've been placing the special username manually in the "Office" field.
Ideally, I would be able to store this username in some field in AD as an action, either during or directly after the initial Powershell query. I don't mind making a few actions if needed to do this.
Basically, our current workflow is:
- Make the user in Adaxes
- Powershell runs and generates their special, unique username
- Someone manually checks the table for what uername it is and places the name into AD in the "Office" field manually
- Someone then emails the name to the user and their manager manually
What we would like is:
- Make the user in Adaxes
- Powershell runs and generates their special, unique username
- Some other automated action takes that username (from the prevous query or from the SQL table) and places it in the "Office" field of AD
- Automated email sends this value to the user
Let me know if you need more information. I know how to take an AD item and place it in Powershell using Adaxes, but I don't know how to go the opposite way basically.
Thanks!