System.Collections.Generic.KeyNotFoundException: The given key '191b0604-6ed9-4d36-b7bc-4ed98face817' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at InsightsProvisioning.Jobs.OrchestratorTenantJob.Execute(IJobExecutionContext context) in D:\a\1\s\InsightsInstaller\Insights\Cloud\Provisioning\src\InsightsProvisioning\Jobs\OrchestratorTenantJob.cs:line 81
Error: Insights Tenant setup failed
System.Collections.Generic.KeyNotFoundException: The given key '191b0604-6ed9-4d36-b7bc-4ed98face817' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at InsightsProvisioning.Jobs.OrchestratorTenantJob.Execute(IJobExecutionContext context) in D:\a\1\s\InsightsInstaller\Insights\Cloud\Provisioning\src\InsightsProvisioning\Jobs\OrchestratorTenantJob.cs:line 81
Resolution:
- Login to the Orchestrator database and check dbo.tenants table.
- Observe the 2 columns which is Key and AccountID
- In those two columns make sure all the values are in lowercase instead of upper case. If in upper case then it will not work.
Consider the example, if logged in with the default tenant and the corresponding tenant name Key and AccountID needs to be in lowercase.