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

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

Hello, How it works if I have multiple accounts in one domain, and other accounts in others domains managed by Adaxes ? Thank you. Regards. Pierre

asked Jun 9, 2021 by pierre.saucourt (40 points)
0 votes
0 answers

Hello, I'm curious again... In this post: Lync Fails when Line URI is used its mentioned that because Adaxes uses PowerShell v2, and the Lync module from Microsoft ... scripts. How then, does Adaxes go about enabling and disabling users for Lync? Thanks.

asked Jan 27, 2016 by EgotisticalGiraffe (350 points)
0 votes
1 answer

Hello We are using the Computer Manager security role and have given access to this group of staff to a web console, what I can't get working is getting it to display the ... else like OS, service pack, role are displaying OK. Can you help please? Thank you.

asked Feb 4, 2015 by CBurn (700 points)
0 votes
0 answers

Sometimes, if an Adaxes service was not uninstalled properly, Adaxes Administration Console shows the removed instance in the list of available Adaxes services. The easiest way ... : Delete the SCP entries that were published by a removed Adaxes service.

asked Aug 23, 2012 by Adaxes (370 points)
2,640 questions
2,375 answers
6,305 comments
985,979 users