Make sure that the userPrincipalName
and Enabled
properties of the Active Directory user accounts you want to synchronize using the script are completed.
To create a synchronization script:
The Import and synchronization window opens.
The Get token window opens. Copy the token and save it in any way convenient for you.
The token is not stored in the ASAP system with public access. After closing the Get token window, it will be unavailable to view. If necessary, you can re-issue a new token.
The issued token is valid for 12 months. When this period expires, the token is revoked. The issued token is also revoked if it is not used for 6 months.
Before enabling the application of rules, you must first create them.
We don't recommend using automatic group distribution rules if you start synchronization with Active Directory when there are previously existing users and training has already been activated. This can lead to changes in user groups and their training program.
If you checked the Archive checkbox and integrated ASAP with Active Directory, you will not be able to manually archive users retrieved from Active Directory. Actions on such users must be performed in Active Directory.
The specified settings will be added to the body of the script.
The script file is saved to the browser's download folder.
$apikey = $env:KASAP_APIKEY
line change $env:KASAP_APIKEY
to the token contents in single quotes. For example: $apikey = '86ccae1a4f5d6a2421a097db789544b2'
In this case, you don't need to change the script file.
You'll need to send this file to your company's Active Directory admin.
To the top