Hello,
We have noticed that in version 2023.2.17.0 (and the previous one, at least) a bug has been introduced in expanding variables in certain contexts. We don't know if it has any relation with the issue, already reported, of $PARENT_HOST$ not being expanded. This time we noticed that using the $DOMAIN_NAME$ variable in this User Interface option:

results in the following misbehavior:

This occurs also with the $DOMAIN_DOMAIN$ domain and possibly other domain related variables. We don't remember to have noticed this issues with versions 2023.1.x
Thanks!
Thanks for reporting this issue, we are looking into a fix asap. Please let me know if you spot any other issues in Active Directory or have any other feature requests we would be happy to add them!
Paul