0 votes

Hello,

We're working with Adaxes for about 2 months and we can't seem to find out how we can check if a action in Adaxes worked or not. We have a scheduled task for User Deprovisioning which should only continue if the adaxes action worked. In Powershell we would just use a Query to check wether the command worked or not and use the $ErrorActionPreference variable. Is there a Way to check if a adaxes action failed and react to it and is there something similiar to $ErrorActionPreference for adaxes actions?

by (100 points)
edited by

1 Answer

+1 vote
by (216k points)

Hello,

Is there a Way to check if a adaxes action failed and react to it

The check can be done using a PowerShell script that will examine the action status in General Log. However, it is possible to stop the Scheduled Task execution only over consecutive objects. There is no possibility to stop processing of the object for which an action execution failed.

is there something similiar to $ErrorActionPreference for adaxes actions?

Unfortunately, there is nothing similar.

Related questions

0 votes
1 answer

When running a PowerShell script as an action in a custom command, you can set the script to run as a different account and then use the RunAs property in the ... Is there another way to get the Adaxes service account's credentials from within the script?

asked Mar 31, 2022 by KelseaIT (320 points)
0 votes
1 answer

Hello, currently we use powershell scripts to perform compliance critical tasks because this allows us to generate user defined entries in the windows event log. Now we would like to ... ". Is there a way to retrieve this information in the CC? Many thanks.

asked Jul 21, 2018 by HorstR (460 points)
0 votes
1 answer

Greetings. When I create the parameters to make a business rule that looks for users whose Email Proxy Adresses does not contain 'SMTP:%userPrincipalName%', it still generates profiles ... and primary SMTP address don't match. Version is 2023 How rule is set

asked Dec 19, 2022 by MShep (80 points)
0 votes
1 answer

For creating a computer object, we want to check if the entered CN is already used in our AD. And for that we want to use a powershell script. An other dot ... powershell script should be start before creating the computer object, right? Thanks for your help.

asked Jun 4 by KEME (80 points)
0 votes
1 answer

If we want to obtain the Object ID for the corresponding 365 object of a user, we would use the logic: [Guid]$Context.TargetObject.Get("adm-O365ObjectId") -if ... definitively belongs to an on-premises Active Directory domain or a cloud Azure AD domain?

asked Dec 12, 2022 by Viajaz (210 points)
3,564 questions
3,255 answers
8,264 comments
547,915 users