0 votes

I am testing a rebuild of our Adaxes configuration. One of the issues I am running into is when using a web selection that involves the modify trigger it takes an unusually long amount of time,

I am using Asynchromously in every task that is run. In most instances it will take 10 minutes or more for it to finish and release the web interface to get a "Success!" Clicking on the "View details" indicates that there were no failures.

Is there a way to let the tasks run in the background? I vaguely remember several years ago that I needed to do something to the front end to make sure the web interface waits for the job to finish. This would have been before the configuration for the front end was in a web interface.

SCR-20230301-kz8.png SCR-20230301-l4b.pngSCR-20230301-l8n.png

by (290 points)

1 Answer

0 votes
by (290 points)

This can be marked as resolved.

I beleive the issue is unique to my test environment. Many of our powershell scripts send requests to an API (either using GAM - Google Apps, or internal API). The environment I am doing this in is a lab server with no access to those APIs. Therefore it will take some time for for those scripts to initiate. Even with Async turned on it seems like the lack of API causes delays in the web interface when adding or updating a user.

0

Hello,

Thank you for the update. According to the provided screenshot of the execution log, the actions executing PowerShell scripts are not executed asynchronously. As such, the whole update user operation waits until the scripts are executed.

Related questions

0 votes
1 answer

We're trying to setup a new action in our Web interface that runs on User's that are currently in an OU called 'New Starters' that is in all of our domains (An ... no results, There are no other fields we can use that are unique to accounts in those OUs

asked Feb 7, 2020 by richarddewis (260 points)
0 votes
1 answer

I'm trying to modify mailbox settings to add additional email addresses to a user after creation. This is a hybrid on-prem and Exchange Online with E5 licenses. Everything works up ... to a different OU during the process so I know the user exists. Any ideas?

asked Mar 6 by Michael Long (70 points)
0 votes
1 answer

I need a Scheduled Task that send an email of a list of all users that have an on prem mailbox. I have found the script to check if the mailbox is on prem but have not found the way to build and email the list. It can be in CSV fomat.

asked Jul 5, 2019 by hgletifer (1.3k points)
0 votes
1 answer

Hello, you helped us with a script to set the oof-message. Now we want to know, if it's possible to activate/deactivate the mail-forwarding option time-based. In the ... deactivate it accordingly on "param-abw-ende" Can you help me with that? Thanks Carsten

asked Nov 17, 2022 by lohnag (120 points)
0 votes
1 answer

Automation of user creation based on ServiceNow ticket creation.

asked Jan 24, 2022 by tdetmer (20 points)
3,071 questions
2,784 answers
7,155 comments
434,110 users