You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -46,3 +46,36 @@ Environment variables typically include credentials and resource endpoints neede
46
46
## Additional Parameters
47
47
48
48
Some services require extra parameters (e.g., `-AdditionalParameters @{enableHsm=$true}` for Key Vault HSM tests). Check the service's `test-resources.bicep` or `test-resources.json` for required parameters.
49
+
50
+
## Troubleshooting
51
+
52
+
### Resource already exists / deployment conflict
53
+
54
+
If deployment fails because a resource or resource group already exists:
55
+
56
+
1. Check whether an existing deployment is present by running:
- Verify the signed-in account has **Contributor** or **Owner** role on the target subscription: `Get-AzContext`.
70
+
- If no context exists, run `Connect-AzAccount` and select the correct subscription with `Set-AzContext -SubscriptionId <id>`.
71
+
- For the TME subscription, ensure the account has been granted access to subscription `4d042dc6-fe17-4698-a23f-ec6a8d1e98f4`.
72
+
73
+
### Deployment times out
74
+
75
+
- Some services (e.g., Cosmos DB, HDInsight) have long provisioning times.
76
+
- Check the Azure portal for the resource group's deployment status to identify which resource is slow.
77
+
78
+
### Missing .env file after deployment
79
+
80
+
- Ensure `-OutFile` was passed to `New-TestResources.ps1`.
81
+
- Verify the language repo's `eng/scripts/LanguageSettings.ps1` sets `$SupportsTestResourcesDotenv = $true`. If it does not, environment variables must be collected from the script's console output instead.
0 commit comments