0 votes

We're tryingo to create a custom task that would allow us to create a service account and run some logic. These need to start with "svc_". Im able to do this on the default "Add User" commands but seemingly not with custom tasks. Is this possible? Alternatively, could I use the built in task and add additional fields to the form?

by (280 points)

1 Answer

0 votes
by (13.3k points)

Hello,

We're tryingo to create a custom task that would allow us to create a service account and run some logic.

If you mean an action on the Home page of a Web interface, yes, it is possible. For information on how to configure the Actions pane, have a look at the following tutorial: https://www.adaxes.com/help/ConfigureActionsPane.

These need to start with "svc_". Im able to do this on the default "Add User" commands but seemingly not with custom tasks.

If the service accounts are created in a certain container, you can create a property pattern where the template for generating a default value for the required attribute starts with svc_. Then, you can remove the property from the Web interface form. To achieve this, you can configure the Web interface action to use a custom form. For details, have a look at the corresponding section of the following tutorial: https://www.adaxes.com/help/ConfigureActionsPane/#custom-forms-and-predefined-values. This way you can make sure that the accounts created in the required container are always created with the svc_ prefix. If this is not what you meant, please, describe the required behavior in all the possible details. Live examples and screenshots will be much appreciated. You can post them here or send us at support@adaxes.com.

Alternatively, could I use the built in task and add additional fields to the form?

You can customize forms for user creation and editing: https://www.adaxes.com/help/CustomizeFormsForUserCreationAndEditing. Alternatively, you can configure the required Web interface action to use a custom form: https://www.adaxes.com/help/ConfigureActionsPane/#custom-forms-and-predefined-values.

Related questions

0 votes
1 answer

Dear support, I'm trying to automate network share creations via custom commands. They idea is to create share and groups with command A and schedule ... "ADS_SCOPE_BASE" $scopeItem.Exclude = $False $scopeItem.SetInfo() $task.ActivityScopeItems.Add($scopeItem)

asked Jan 27, 2020 by Dmytro.Rudyi (920 points)
0 votes
1 answer

I'd like to log specific details from my scripts but would like to integrate it with Adaxes if possible.

asked Jun 5 by ZoomGhost (280 points)
0 votes
1 answer

I'm running into the following error when I run the command: You cannot call a method on a null-valued expression. Stack trace < ... %distinguishedName% # Execute the Custom Command $user.ExecuteCustomCommand($commandID, $commandArguments) '''

asked Apr 1, 2020 by richarddewis (260 points)
0 votes
1 answer

Hello, you helped us with a script to set the oof-message. Now we want to know, if it's possible to activate/deactivate the mail-forwarding option time-based. In the ... deactivate it accordingly on "param-abw-ende" Can you help me with that? Thanks Carsten

asked Nov 17, 2022 by lohnag (160 points)
0 votes
1 answer

Hi Support, I'm trying to use adaxes to send a couple of branded emails with User information such as UPN and First name. I've written some HTML email code but would ... <table class="wrapper" width="100%" cellspacing="0" align=center cellpadding="0">

asked Feb 18, 2020 by richarddewis (260 points)
3,526 questions
3,217 answers
8,197 comments
547,625 users