Vinicius outlines each step and commands you will need to set up a test AKS environment to support the new (preview) Group Managed Service Accounts feature.
Now you can run Active Directory dependent apps in containers!
https://techcommunity.microsoft.com/t5/itops-talk-blog/step-by-step-creating-a-new-test-environment-...