botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Node.js SDK, Azure Bot Service] Change Configuration Messaging endpoint - azure

Open liavnave opened this issue 8 years ago • 13 comments

Bot Info

  • SDK Platform: Node.js
  • Active Channels: Skype
  • Deployment Environment: Azure Bot Service - portal.azure.com

Issue Description

Cant change the settings endpoint, error received:

{"readyState":4,"responseText":"{"error":{"code":"InvalidBotData","message":"OwnerIds: OwnerIds must contain at least one email address. "}}","responseJSON":{"error":{"code":"InvalidBotData","message":"OwnerIds: OwnerIds must contain at least one email address. "}},"status":400,"statusText":"Bad Request"}

Reproduction Steps

  1. Login to - https://portal.azure.com
  2. Go to the resource - bot
  3. Settings tab
  4. Change Configuration Messaging endpoint
  5. Save

Expected Behavior

Messaging endpoint save successfully.

Actual Results

Nothing happened.

liavnave avatar Jun 24 '18 08:06 liavnave

@liavnave I haven't been able to reproduce this issue with one of my own bots.

Have you tried logging out of the portal and then logging back into it? Similarly, have you tried reproducing the issue in an private/incognito browsing session? If it works there you may need to clear your cookies.

stevengum avatar Jun 25 '18 23:06 stevengum

@stevengum I tried to log out and log in again, and test the issue from a private/incognito browser. also tried to clear cookies. Still can't change the endpoint.

liavnave avatar Jul 01 '18 08:07 liavnave

@liavnave Can you provide your Microsoft App ID and the Bot Handle for further investigation?

stevengum avatar Jul 02 '18 16:07 stevengum

@stevengum Microsoft App ID: a7a031a2-4ae6-4517-b1c6-2a4fb2dca8f7 Bot Handle: Sisense_dev

liavnave avatar Jul 03 '18 07:07 liavnave

Also running into this problem on Azure.

pjryan93 avatar Jul 11 '18 22:07 pjryan93

@liavnave sorry for the delay, what needs to be done is that an Admin of the bot needs to go into dev.botframework.com for the bot, go to the Settings page, and then add MSA/AAD email addresses to the Owners field which is near the bottom of the page. I just checked the bot and verified that there are no email addresses are there, so adding an email address there should fix your problem.

@pjryan93 this might also address your issue but it's hard to say without more information.

stevengum avatar Aug 29 '18 17:08 stevengum

Closing due to inactivity.

stevengum avatar Sep 07 '18 00:09 stevengum

I tried to access dev.botframework.com to add my email in the settings, but it is not showing in that portal. I am Owner of the bot according to azure portal.

mintxelas avatar Nov 27 '18 09:11 mintxelas

@mintxelas Please look for your bot in the Azure portal. Bots are managed as Azure Resources now, so access is determined based on Azure Subscription Permissions.

EricDahlvang avatar Nov 27 '18 20:11 EricDahlvang

I know, but there's nowhere to put the email of the owner in the portal, yet that's the error the api throws. And in the permissions of the bot I am already owner.

El mar., 27 nov. 2018 21:12, Eric Dahlvang [email protected] escribió:

@mintxelas https://github.com/mintxelas Please look for your bot in the Azure portal. Bots are managed as Azure Resources now, so access is determined based on Azure Subscription Permissions.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/4783#issuecomment-442200495, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzk-1r81c-ZWh2bckT_gXfm04Q_Wp8zks5uzZy5gaJpZM4U1EsK .

mintxelas avatar Nov 27 '18 20:11 mintxelas

@mintxelas

Please provide the bot handle and ms application id, so we can investigate further.

EricDahlvang avatar Nov 27 '18 23:11 EricDahlvang

Thanks, the bot handle is "AstridBot" and the appId is c77c3dd6-7278-4f4b-92fc-f3642cb7f29c

El mar., 27 nov. 2018 a las 23:41, Eric Dahlvang ([email protected]) escribió:

@mintxelas https://github.com/mintxelas

Please provide the bot handle and ms application id, so we can investigate further.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/4783#issuecomment-442261044, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzk-82-hmBlIuaGhICeeiydh_yT7dKVks5uzc2egaJpZM4U1EsK .

mintxelas avatar Nov 28 '18 06:11 mintxelas

Closing per original author was non responsive.

@mintxelas, I've opened #5190 to handle your issue. Please refer to that issue going forward.

CoHealer avatar Nov 29 '18 21:11 CoHealer