0 votes

Hello,

I'm working on different custom script to integrate Adaxes with custom Cloud Services.

The goal will be to trigger Third Part Services directory sync on a lot of different changes (basically all create/update/delete event on users and groups).

For example:

  • triggering a Workspace ONE Access remote directory sync via REST API
  • triggering a Workspace OEN UEM remote sync / user import via REST API
  • triggering a Google Cloud Directory Sync run via local action to run
  • etc

Basically what is currently done with Azure AD built-in integration but for an infinity of situation.

Currently I handle this situation with custom script. But we cannot register a custom script as an action we can use in multiple rules. We need to have multiple rules with each of them a copy of the script.

This is higly unmaintable. If we have to change something in a script (fix, authorization token, etc.) we have to edit multiple actions.

Is there a way to register a custom script as an action usable by multiples rules? To add it in the list of built-in actions?

If not, how can we store a script as an external exe that will be replicated by Adaxes automatically accross all Adaxes instances?

by (240 points)

1 Answer

0 votes
by (270k points)

Hello,

Is there a way to register a custom script as an action usable by multiples rules?

Unfortunately, there is no possibility to store scripts as separate objects. However, thank you for the suggestion. We forwarded it to the corresponding department for consideration.

If not, how can we store a script as an external exe that will be replicated by Adaxes automatically accross all Adaxes instances?

There is no need to use external programs. Moreover, it is not recommended as in this case the scripts will not be included into Adaxes backups. As a solution, you can create a custom command with only a single action running your script. Then you can add the command to your business rules, scheduled tasks and other custom commands via the Execute a custom command action. In this case, you will have just a single place for updating the script when necessary.

Related questions

0 votes
1 answer

Hello I'm trying to run a custom PowerShell script to request a Workspace ONE Access Sync when I change something in our users or groups. Here is the script: $ClientId = "api ... of having to create 6 independent rules with each of them a copy of the script)?

asked Sep 25, 2021 by ygini (240 points)
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

I need to know how to Create a new Custom Attribute which I wants save some informations of Users

asked Jun 12, 2023 by kanishka.silva (40 points)
0 votes
1 answer

Then I could put the approval on the custom command.

asked Dec 4, 2023 by mightycabal (1.0k 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 (110 points)
3,326 questions
3,026 answers
7,727 comments
544,681 users