This is a fairly common question, and there isn't a One True Answer.
These are the most common techniques:
az group deployment create ` | |
-g "my-resource-group" ` | |
--template-file azuredeploy.json ` | |
--parameters `@azuredeploy.parameters.json ` | |
--parameters servicePrincipalTenantId=$tenantId |