From f5e0835cc31d080e5068bb6cbb18d89acc5eee61 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Thu, 27 Feb 2020 20:49:05 -0300 Subject: [PATCH] fix(core.gbapp): Bot creation can be fully automated after MSFT finished their issues. --- packages/core.gbapp/services/GBDeployer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core.gbapp/services/GBDeployer.ts b/packages/core.gbapp/services/GBDeployer.ts index 24d7a199..44c82060 100644 --- a/packages/core.gbapp/services/GBDeployer.ts +++ b/packages/core.gbapp/services/GBDeployer.ts @@ -171,7 +171,7 @@ export class GBDeployer { const accessToken = await GBAdminService.getADALTokenFromUsername(username, password); const service = new AzureDeployerService(this); - let application = service.createApplication(accessToken, botId); + let application = await service.createApplication(accessToken, botId); instance.marketplaceId = (application as any).appId; instance.marketplacePassword = (application as any).passwordCredentials[0];