0 votes

Hello,

I would like to ensure that before a computer object is moved in Adaxes, the user must enter a ticket number, and after the input, the PC is moved to the selected Active Directory OU and an email with the ticket number is automatically sent. The same should happen if the user wants to delete a computer object.

How can I configure a buisness rule to prompts the user to enter a ticket number before the move/delete operation?

Kind regards, Fabian

by (150 points)

1 Answer

+1 vote
by (11.1k points)

Hello Fabian,

Business rules do not provide the ability to interact with users. To achieve the required, you can use custom commands with parameters. In this case, the parameters will be set as required and the command will not be executed unless users provide values for the parameters. Then the actions in the command will perform the required operation (e.g. move or delete the computer object) and send an email with the required information. For details on how to create custom commands, have a look at the following tutorial: https://www.adaxes.com/help/CreateCustomCommand. For example, the custom command that moves a computer to the selected container should look like this:

image.png

To prevent users from performing the move and delete operations directly on objects, you can deny corresponding permissions and allow users to execute custom commands. For information on how to grant rights to execute custom commands, have a look at this tutorial: https://www.adaxes.com/help/GrantRightsToExecuteCustomCommands.

0

Thank you for your fast reply. It seems to work. How can I add in the subject of my email the computerobject name?

image.png

+1

You can use one of the following to refer to the name of the computer object --

%cn%
%name%

image.png

+1

Fabian,

You can reference any object property using value references. For details, have a look at the following help article: https://www.adaxes.com/help/ValueReferences.

0

Hello,

how can I prevent, that they can move computerobjets with the custom command to a specific OU? I have assigned the security role on the OUs they can move computers to.

2024-04-19 14_56_31-Farm_HOL - tsweb.rubner.com - Remotedesktopverbindung.png

Is there a solution? Currently they can move computerobjets to every OU.

0

Hello Fabian,

Unfortunately, there is no possibility to disallow moving the computer objects to certain OUs using security roles when executing a custom command. The OUs specified in the assignments of the security role determine on which objects the custom command can be executed. As an option, you can configure the custom command parameter used to select the destination OU by allowing only the required OUs in the criteria.

image.png

Related questions

0 votes
1 answer

Can I edit my buisiness rule from "after creating a user" to "after moving a user". I wanted to move 120 business rules and not have to recreate each one, one by one. Maybe there is a powershell script or something?

asked Oct 12, 2022 by raul.ramirez (210 points)
0 votes
1 answer

Automation of user creation based on ServiceNow ticket creation.

asked Jan 24, 2022 by tdetmer (20 points)
0 votes
1 answer

User is trying to amend the account expiry date on another user account. User has done this many times in the past - only difference is this is a new OU. Adaxes service account has the necessary permissions to the OU so I can't see why this is happening

asked Jan 3 by NeilM (20 points)
0 votes
1 answer

Hallo Everyone I've seen the Report for Exchange Mailboxes with OU, Send on Behalf, Full Rights and Send As Rights: https://www.adaxes.com/questions/ ... . Example: User: Peter.Steinmann Identity: Which Mailboxes AccessRights: FullAccess Kind regards,

asked Jul 6, 2022 by Sandberg94 (340 points)
0 votes
1 answer

Hello, you wrote "To remedy the issue, try granting the account appropriate permissions to delete users as subtree in Active Directory." How can I add the permission within ... in AD. Only the to be deleted user object should be affected. regards Helmut

asked Nov 12, 2020 by a423385 (510 points)
3,351 questions
3,052 answers
7,791 comments
545,083 users