We are trying to create a Generate cloud rule to obtain a unique sAMAccountName during account provisioning, the logic to calculate sAMAccountName is:
1 letter + 4 numbers such us A0000,A0001…A9999,B0000…Z9999
is there an option to gather the last account created by IDN? or maybe a method to gather all the accounts existing in AD so we can try to order the returnted list and find the last sAMAccountName used.
Thanks for your answer @clstromgren !!! My problem here is that using a generator rule find the most efficiency way to get the last sAMAccountName created by IDN in order to avoid checking several sAMAccountName, do you get my point¿