0 votes

Hello,

I want to automate the creation of a contact based on an existing AD Users.

For example, the code in my custom command contains something like:

new-mailcontact -Name "CONTACT-%fullname%" -ExternalEmailAddress myemail@external.yy OrganizationalUnit "OU=TEST,OU=CONTACTS,DC=lab,,DC=com-alias "CONTACT-%username%"

it will create a contact like : CONTACT-JessicaJones with an external email myemail@external.yy

My problem is the value ExternalEmailAddress needs to be typed by the helpdesk when he call the Business Rule from the web interface.
How can the Helpdesk pass this value as a parameter after he run the Custom Command from the Web interface?

Thanks in advance.

by (1.1k points)
0

Maybe I can do it in two steps :

1) The Helpdesk change a custom attribute to populate the email. Example : -extensionAttribute10
2) I change my custom command like this : -ExternalEmailAddress "%extensionAttribute10%"

This scenario is working but it is not optimized as the heldesk need to do 2 operations.

Please log in or register to answer this question.

Related questions

0 votes
1 answer

Hi: I am trying to create a business rule that will stop a value change based on the existing value. For example, if the telephonenumber is 1234 for a group and has to ... the value it uses is the incoming value of the change, not the existing value. Thanks!

asked Jun 3, 2022 by crobitaille (80 points)
0 votes
1 answer

We are working with an HR package that will send us a CSV file every 4 hours with a list of users that need to be created, modified or deleted from our environment. The CSV ... change, etc.) Is there a script that can manage all of that on a scheduled basis?

asked Sep 2, 2020 by RayBilyk (240 points)
0 votes
1 answer

How can i différenciante the two user without opening each one of them ?

asked Jan 20, 2023 by eric.lebrun (20 points)
0 votes
0 answers

I am trying to find a way to create Groups based off an OU and a list of options (check boxes) within the portal For example: Select the Target OU to add groups ... 3 - Remote Administrators Option 3 - Remote Developers Option 4 - Readers Option 4 - Writers

asked Sep 11, 2020 by dknapp (100 points)
0 votes
1 answer

Is it possible to script having users added (or removed) from a Security Group based on another AD Attribute? I have found ways to do this in Powershell (something like): ... just utilize the PS script and just run it through Adaxes on a timed fashion? Thanks!

asked Oct 7, 2014 by PunkinDonuts (360 points)
3,541 questions
3,232 answers
8,225 comments
547,802 users