0 votes

I am looking for a way to ensure that a custom command can only be run is an user account is more than 30 minute old.

Ideally I would like the command to be hidden for that account. But the operation can also be canceled if the AD account is less than 30 minutes old.

We need this check because of sync timings.

Thanks, Allistair

by (190 points)

1 Answer

0 votes
by (305k points)

Hello Allistair,

Yes, it is possible. You can use the following action set as first in the custom command configuration. image.png If an account is created less than 30 minutes ago, the entire command execution will be cancelled.

0

Thank you for the fast answer, it works now.

Related questions

0 votes
1 answer

I have created a "Custom Command" to grant access to users to two different groups, and set them as "Hybrid" and "Temporary", with "Start and End Date", and need to ... Date" to only show if the "Temporary" option is selected. Can anyone assist? Thank you.

asked 1 day ago by cllano (20 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

Occationally Service Desk staff need to clear a DNS record when a desktop has been reimaged but is keeping the same name as loses the ability to manage its original DNS ... running in ADAXES. Can I just install the applet on the ADAXES server using powershell?

asked Jan 17, 2023 by stevehalvorson (150 points)
0 votes
1 answer

I would like to add a parameter for country to a custom command. Since the country has to be entered correctly in order for Active Directory to accept it, I would like to ... ? I didn't find it in the documentation and the sample scripts didn't use parameters.

asked Jun 4, 2020 by mark.it.admin (2.3k points)
0 votes
0 answers

Hi All, I have setup an action to cancel all meetings in outlook when a user is leaving. We use Exchange online but I'm getting an error 'The operation is supported by Exchange online and Exchange versions starting from 2019' I cant see where you specify.

asked Sep 6, 2024 by DarrenFisk (100 points)
3,740 questions
3,418 answers
8,641 comments
550,364 users