Fix issue in ARM Template used for deployment 'Create Server management tools connection' that gives error 'resourcegrouplocationundefined'
Invalid arguments. Additional details from the underlying API that might be helpful: Cannot start template deployment. A resource group location was not specified. I don't believe I can, or should need to specify the resource group location.

2 comments
-
peterjlay commented
I found that it may have been permissions related, as I switched from a Cloud only admin user account to a AD synched admin user account, and I was then able to create server management tools connection under that account without the error above occurring.
-
Samuel Li (MSFT) commented
Hi, we recently updated an error message on the SMT Create blade ("This region is not yet supported for SMT resource creation. Please create a new resource group in a different location or select a resource group from a supported location.") This should help ensure that the ARM template generated and downloaded from the Create blade is valid.
If your ARM template was manually written, then ARM does require new resources to be created in a new or existing resource group, and if you're creating a new resource group, a location is also required. In this case, you need to manually ensure that the location is supported by SMT. You can see the supported locations on the SMT Create blade.
If neither of the above describes your situation, please provide repro steps so we can help troubleshoot further, thanks!