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 (14.1k 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

The use case we are looking for is providing a list of titles for users to choose from when initiating a re-hire. We already have a title property pattern established and would ... that we can manage the list in one place. Let me know and as always, thanks.

asked 15 hours ago by msheppard (470 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)
3,548 questions
3,238 answers
8,232 comments
547,812 users