Currently working with Marcel Eeken on implementing a Proof of Concept. We found that the script does not differentiate between the resourcegroup for the workspace and the resourcegroup for the hostpool and application group.
We recommend adding an option to the arm template to fill these out and to also include these as arguments in your script.
I also shared the changes with Marcel, he will inform you as well.