MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
287 stars 509 forks source link

This bot is disabled. Contact your IT admin for more information. #10979

Open CodeABao opened 5 months ago

CodeABao commented 5 months ago

Steps to reproduce

the bot send a adaptivecard to user, but the card show issue "This bot is disabled. Contact your IT admin for more information." below is the card json:

{ "type": "AdaptiveCard", "version": "1.2", "actions": [ { "type": "Action.Submit", "data": { "msteams": { "type": "messageBack", "displayText": null, "text": "PluginInterceptInvoke", "value": { "type": 3, "value": "Function_CompleteForLineUp", "description": null, "actionId": "uatuser1@7zwf5m.onmicrosoft.com", "result": null, "serviceCode": null } } }, "title": "Release [uatuser1@7zwf5m.onmicrosoft.com]" } ] }

Expected behavior

the button can be click.

Actual behavior

not working

Error details

image

cpolanish commented 5 months ago

We're also seeing this same issue this morning. We have several custom bots and all of them began throwing this error around 8am EST this morning.

jason-price commented 5 months ago

We are having the same issue with our adaptive cards also.

Nivedipa-MSFT commented 5 months ago

@CodeABao - Could you please verify the key points below and let us know the updates, whether they are working for you or not?

  1. Verify that the bot is enabled in the Microsoft Teams admin center. If it's disabled, you'll need to contact your IT admin to enable it.
  2. Verify that the bot is properly registered, and that the bot ID used in the adaptive card is correct.
CodeABao commented 5 months ago

@CodeABao - Could you please verify the key points below and let us know the updates, whether they are working for you or not?

  1. Verify that the bot is enabled in the Microsoft Teams admin center. If it's disabled, you'll need to contact your IT admin to enable it.
  2. Verify that the bot is properly registered, and that the bot ID used in the adaptive card is correct.

hi Nivedipa,

I verified all configs is correct. The button works well in browser. In the windows client sometimes occurs error and sometimes works well. I can't find any detail logs.

image

cpolanish commented 5 months ago

I just wanted to share an update, at least in regards to what I'm seeing in my environment. Several of our bots have mysteriously started working again today. There is still one or two that I'm seeing this error on. So it seems to be an issue on the Microsoft side (I didn't find much, but I did find one or two threads in my research where people have reported a similar experience over the past two months or so, things break and start working on their own a few hours later, so makes me think there is some backend change rolling out that temporarily breaks things).

Nivedipa-MSFT commented 5 months ago

@CodeABao, @cpolanish - Could you please share your bot ID, tenant ID and logs, so that we can investigate further?

CodeABao commented 5 months ago

@CodeABao, @cpolanish - Could you please share your bot ID, tenant ID and logs, so that we can investigate further?

@Nivedipa-MSFT i can share my dev environment, it has the same issues. Tenant ID: ba5de2c6-e69b-4919-86d5-1ded8ed6daac AppId:c1391636-c14f-4944-b4bc-2d91c21c9383

PROD-WebLogs-2024-06-06T01_43_20.538Z.zip

Nivedipa-MSFT commented 5 months ago

@CodeABao - We have raised an ICM for this. We will let you know once we get any updates on it.

kstew-chorus commented 4 months ago

This is happening for us big-time, affecting a couple of users, and 10+ different adaptive card systems (every one tried by these users fails).

All config is correct, and cards always work for some users, just not the ones in question.

patto-insightfactory commented 4 months ago

We are also experiencing this same issue - we believe we have narrowed it down to the "NEW" MS Teams desktop. When we switch back to the OLD MS Teams, it works as expected. This is utilising the Workflow bot and adaptive cards.

FYI - @Prasad-MSFT @ChetanSharma-msft @Nivedipa-MSFT

Note: All setup and config is correct and is random on who and when it happens

siva-troopr commented 4 months ago

We are also experiencing this issue with our customers encountering the "This bot is disabled. Contact your IT admin for more information." error. The problem arises when users interact with actions on our adaptive card. Below is the adaptive card JSON we are using:

const adaptiveCard = { $schema: 'http://adaptivecards.io/schemas/adaptive-card.json', type: 'AdaptiveCard', version: '1.4', body: [], actions: [ { type: 'Action.Submit', title: feedbackEmojis['100'], data: { msteams: { type: 'task/fetch' }, action_id: 'five_star_feedback_100', conversationId, wId, botId: bot?._id, feedbackValue: 100, }, }, { type: 'Action.Submit', title: feedbackEmojis['75'], data: { msteams: { type: 'task/fetch' }, action_id: 'five_star_feedback_75', conversationId, wId, botId: bot?._id, feedbackValue: 75, }, }, { type: 'Action.Submit', title: feedbackEmojis['50'], data: { msteams: { type: 'task/fetch' }, action_id: 'five_star_feedback_50', conversationId, wId, botId: bot?._id, feedbackValue: 50, }, }, { type: 'Action.Submit', title: feedbackEmojis['25'], data: { msteams: { type: 'task/fetch' }, action_id: 'five_star_feedback_25', conversationId, wId, botId: bot?._id, feedbackValue: 25, }, }, { type: 'Action.Submit', title: feedbackEmojis['0'], data: { msteams: { type: 'task/fetch' }, action_id: 'five_star_feedback_0', conversationId, wId, botId: bot?._id, feedbackValue: 0, }, }, { type: 'Action.Submit', title: 'Improve Answer', data: { msteams: { type: 'task/fetch' }, answer: answerBlock, action_id: 'retrain_action', conversationId, question, wId, botId: bot?._id, createdBy: createdBy?._id, }, }, ], };

Users see the error message when they click on any of the actions. We have verified that all configurations are correct.

If any other information required, Please let us know

Thank you.

druveen commented 4 months ago

One of our customers also faced the same issue. Some users were facing the problem, while for others it was working fine. Both types of users were on the same team's app version.
unnamed (2)

Later, the customer confirmed that the issue appeared to resolve itself after 12 hours.

kstew-chorus commented 4 months ago

Likewise for us, this happened again yesterday for a substantial number of users (but not all), then resolved itself by today.

druveen commented 4 months ago

This is happening again today for our customers, any updates @Prasad-MSFT @ChetanSharma-msft @Nivedipa-MSFT @Meghana-MSFT

Nivedipa-MSFT commented 2 months ago

@druveen - The engineering team has asked for the following details. Could you please share them to investigate further?

  1. Share the network traces of when the user interacts with the said card.
  2. Please share the app manifest zip and repro video.
  3. Could you please verify if the tenant's admin has enabled sideloading of apps in the Teams admin portal for tenant users?
Mostafaa-MSFT commented 1 month ago

Hi @Nivedipa-MSFT,

We are experiencing the same issue on our side with the payments app in meetings. The meeting host is in a test tenant, and we invite anonymous users through a meeting link. When we create a payment charge against them, they receive an adaptive card to allow them to pay within the meeting. However, they encounter the following error message (as shown in the attached picture): "This bot is disabled, contact your IT admin for more information."

I can also confirm all of the test admin settings are setup correctly. attached the picture as well. Screenshot 2024-09-17 152018

Here is the adaptive card as well

{ "type": "AdaptiveCard", "$schema": "https://adaptivecards.io/schemas/adaptive-card.json", "version": "1.4", "speak": "${paymentRequestSpeak}", "refresh": { "action": { "type": "Action.Execute", "verb": "paymentRequestRefresh", "data": { "chargeId": "${chargeId}", "requesterTenantId": "${requesterTenantId}", "requesterAadObjectId": "${requesterAadObjectId}" } }, "userIds": "${refreshTargetedUsers}" }, "body": [ { "type": "ActionSet", "actions": [ { "type": "Action.Execute", "title": "${refreshLabel}", "verb": "paymentRequestRefresh", "data": { "chargeId": "${chargeId}", "requesterTenantId": "${requesterTenantId}", "requesterAadObjectId": "${requesterAadObjectId}" }, "fallback": "drop" } ] } ] }

Test tenant information d5916c23-521a-416d-950c-6bfea6836f7f user information who created a meeting Principalname: mostafaa@M365x03646311.onmicrosoft.com ObjectId: 24aa861c-2c1d-4b32-b265-36e3767aa7d1

Do you have any updates on this issue?

Screenshot 2024-09-17 101101