public void TestInitialize() { string AppId = (string)TestContext.Properties["APPLICATION_ID"]; string AppSecret = (string)TestContext.Properties["APPLICATION_SECRET"]; string Tenant = (string)TestContext.Properties["TENANT_NAME"]; string Resource = (string)TestContext.Properties["RESOURCE"]; SystemUserId = (string)TestContext.Properties["SYSTEMUSERID"]; connector = new DynamicsConnectorBuilder(). WithApplicationId(AppId).WithApplicationSecret(AppSecret).WithResource(Resource).WithTenant(Tenant).Build(); }
public void TestInitialize() { string AppId = (string)TestContext.Properties["APPLICATION_ID"]; string AppSecret = (string)TestContext.Properties["APPLICATION_SECRET"]; string Tenant = (string)TestContext.Properties["TENANT_NAME"]; string Resource = (string)TestContext.Properties["RESOURCE"]; FirstNameAnswer = (string)TestContext.Properties["ANSWER_FIRSTNAME"]; LastNameAnswer = (string)TestContext.Properties["ANSWER_LASTNAME"]; connector = new DynamicsConnectorBuilder(). WithApplicationId(AppId).WithApplicationSecret(AppSecret).WithResource(Resource).WithTenant(Tenant).Build(); }