
62h5y (62h5y) asked a question.
Hi,
how can i set Okta up to create/provision users to a specific OU in AD based on the attributes that are defined in Okta user profile without setting up dozens of Okta groups with directions to the AD OU.
my AD looks like this
OU=User
-OU=Region
--OU=NewYork
--OU=DC
-OU=APAC
--OU=Tokyo
--OU=HongKong
-OU=EU
--OU=Berlin
--OU=London
i tried using the expression language for the DN mapping under Okto to AD
but this did not work as it seems like the AD accounts are only created when they are assigned to a Group that are linked to a specific OU in AD. but what if I wanted to go with a more dynamic approach then maintaining groups that are "hard linked" OU

Hi! For better or worse, I can also confirm that you would have to tie each group to its respective location in AD. You can, however, ease this management with the use of group rules to automatically assign your users to a particular group based on criteria of your choosing. Although this does not alleviate the need for the initial setup of these groups (creating, tying to OU, etc), it could allow you to automate user assignment thus saving time and effort in the long term. You could use a rule to send say someone with country code of US to your US group tied to your US OU, and so on. Same for city, department, etc. hope that helps!