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
1 answer

Looking for a script (unless there is a built in way, which I don't think there is) to grant User A full access to User B's OneDrive

asked 5 days ago by msheppard (610 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)
3,588 questions
3,277 answers
8,303 comments
548,086 users