microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
860 stars 366 forks source link

Provision Failure in publishing by creating a new resource as well as using the existing resource #9697

Closed Tz611 closed 4 months ago

Tz611 commented 5 months ago

There is a Provision failure in publishing my bot to Azure bot service. The error occurs in both using the existing resource and creating a new resource.

image

The error message is as follows: Provision failure {"name":"CREATE_APP_REGISTRATION","message":"App create failed! Please file an issue on Github.","stack":"Error\n at new CustomizeError (D:\Workspace (SAYA)\ChatBot\Bot Framework Composer\resources\app.asar.unpacked\extensions\azurePublish\dist\extension.js:276418:25)\n at createCustomizeError (D:\Workspace (SAYA)\ChatBot\Bot Framework Composer\resources\app.asar.unpacked\extensions\azurePublish\dist\extension.js:276423:10)\n at BotProjectProvision.createApp (D:\Workspace (SAYA)\ChatBot\Bot Framework Composer\resources\app.asar.unpacked\extensions\azurePublish\dist\extension.js:277931:17)"}. See provision.Saya_Bot.log in your bot folder

P.S. I have also tested the solutions provided in the case #8283 , like assigning application administrator and application developer. Besides, I have also use the contributor role in subscription resource.

Thus, could you please help me with the detailed step-by-step methods to solve this error?

Version

Version: 2.1.2 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

Browser

OS

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Publish >> Add New >> Create publishing profile by existing one as well as creating a new one'
  2. Click on 'Next' See Error

Expected behavior

Provision Success and Publishing Success

Screenshots

image

image

image

Additional context

OEvgeny commented 5 months ago

@Tz611 could you provide the provision.Saya_Bot.log as well?

Tz611 commented 5 months ago

@OEvgeny This is the log file of the provision. image

I think there is an error in provision, that's why I could not publish the bot in other ways also.

dmvtech commented 5 months ago

@Tz611

assigning application administrator and application developer. Besides, I have also use the contributor role in subscription resource.

Is the account in question part of the home tenant, or is it a guest? (regardless of permissions)

Tz611 commented 5 months ago

@dmvtech, It is a tenant account. Besides, the error code is 401 image

This is the error log from provision file.

OEvgeny commented 5 months ago

@Tz611 There is something wrong with the access rights. I'm not sure what it is exactly. Suggesting to try using a different account if possible.

OEvgeny commented 4 months ago

Closing due inactivity, feel free to reopen