Getting Started with Group Managed Service Accounts
The only way to create and configure Managed Service Accounts are using Powershell cmdlets. It requires at least 3 separate commands to be run, one of which has to be run locally on the computer that will use the MSA. This article gives you step-by-step and complete PowerShell commands. To follow the steps you will need ActiveDirectory module in PowerShell.