0 votes

Hi, I am Create a Custom Command. The Parameters UI Control is AD object picker. image.png

The Action is add the Parameters in Extension Attribute 1 image.png

But it will add the AD DN. If I want to add LogonName, what parameters should I enter?

by (70 points)

1 Answer

0 votes
by (220k points)

Hello Will,

But it will add the AD DN

This behavior is by design.

If I want to add LogonName, what parameters should I enter?

You can use a text parameter and manually enter the required username into it. Alternatively, you can keep using the AD object picker parameter and use a script instead of the Create an Active Directory object action. The script will get the username of the selected account and create the group. If latter is the preferred approach, please, post here or send us (support@adaxes.com) a full screenshot of the Create an Active Directory object action. Should there be other parameters used (except for PM03 and PM07), please, specify the parameter types.

Related questions

0 votes
1 answer

I have a custom command that prompts for a "reporter" for our ticketing system for enabling VPN accounts. Sometimes a technician will enable an account on behalf of another ... do I extract the email address of that object chosen as a parameter? Thank you.

asked Dec 10, 2019 by bjzielinski (70 points)
0 votes
1 answer

I am working on a script that sends an email (using Send-MailMessage) to one or more recipients, selected through an AD Object Picker parameter within a custom command. I have ... picker before running the code so I am confused as to why this is not working.

asked Mar 4 by ryan741 (120 points)
0 votes
1 answer

Hello The search function in the AD object picker seems to be limited to the attribute "Name". I have some AD groups where the name is not very meaningful for our ... these cases. Is there any way to include the "Description" attribute in the search? Pudong

asked Sep 26, 2021 by pudong (410 points)
0 votes
1 answer

Hi I've added values to two attributes of an Oraganization Unit: adm-CustomAttributeText1 adm-CustomAttributeText2 I'm trying to extract these properties with a powershell ... But this does not provide the value set in adm-CustomAttributeText1. Any ideas?

asked Jan 28, 2013 by kjesoo (960 points)
0 votes
1 answer

Currently Logon Workstations attribute is a comma delimited string. I would like to request that this is an AD picker to limit human error when adding and removing objects.

asked Feb 7, 2020 by mark.it.admin (1.8k points)
2,739 questions
2,474 answers
6,472 comments
1,364,101 users