So First Its Good that you made a Script for AD integration,
And I havent got to testing it yet, But I`ve always been asking myself that so why not right now.

Does That UI exist Somewhere or is it just a Concept, Because I`m Sysadmin infra so the PowerShell Script directly would be Ok for me, but it`s not me who creates accounts, we have a Team for that, and we made them a UI for AD user Creation. So Anyway, if you have a Teamviewer User Creation UI hiden somewhere it would be greate, I would have to analyse you existing script to make my own.