Hi Rupali Bhore
Can you update your VSTest@2 like this so that it will match configuration.GetValue<string>("ClientId") in CertificateService.cs
- task: VSTest@2
displayName: "Run Tests"
env:
ClientId: $(azureClientId)
Secret: $(azureClientSecret)
TenantId: $(tenantId)
or alternatively you can update like this
AzureClientId = configuration.GetValue<string>("azureClientId");
AzureTenantId = configuration.GetValue<string>("tenantId");
AzureSecret = configuration.GetValue<string>("azureClientSecret");
Hope this helps!
Please Let me know if you have any queries.