Hello,
The thing is that the PowerShell module including the Msol cmdlets was deprecated. It should now all be done via MgGraph. At the same time, there is no full documentation on possible approaches and thus we do not have the exact script. As an option, you can contact Microsoft support for assistance. If you have a script working in Windows PowerShell, we will do our best to help you adjust it to work in Adaxes.