When you create a Databricks workspace using the Azure portal you obviously specify the Resource Group to create it in. But in the background a second resource group is created, this is known as the managed resource group - it is created with an almost random name.
This is a pain if you have naming conventions or standards to adhere to.
The managed resource group is used for networking of your clusters and for providing the DBFS storage account.
Whilst the portal does not allow you to control this name, the underlying REST API does. So with PowerShell magic we can create an instance and set both names.
Note that both resource groups used in the variables must exist before running this script.
I hope that is useful to someone.