If YMAL code restrict you to set the pipeline for solution movement.
Microsoft bring a feature which will solve your issue by just doing few setups in the Power Platform admin center. Now you will be able to move the solution into the environments,
Do check My Blog
Link: customizers.blog/.../
*This post is locked for comments