2

I followed this tutorial to build a notification bot in Teams.

I added a blob storage as described here.

The blob storage container is created automatically, however it remains empty.

My code: enter image description here

-> When I try to send notifications via /api/notification endpoint, 0 bot installations are returned, no notifications are sent, although I installed the bot in MS teams.

Any ideas how to debug the bot installations / azure blob storage connection?

RNLS0176
  • 115
  • 4
  • 13
  • What are the versions of your packages? – AP01 Feb 24 '23 at 22:44
  • "dependencies": { "@azure/storage-blob": "^12.9.0", "@microsoft/adaptivecards-tools": "^1.0.0", "@microsoft/teamsfx": "^2.0.0", "botbuilder": "^4.18.0", "restify": "^10.0.0" }, – RNLS0176 Feb 25 '23 at 09:04
  • I don't see any obviously incompatible versions, so maybe you could try [debugging with ngrok](https://learn.microsoft.com/en-us/azure/bot-service/bot-service-debug-channel-ngrok?view=azure-bot-service-4.0). – AP01 Feb 27 '23 at 15:52

1 Answers1

0

Setting my Azure AD app registration to multi-tenant did the trick for me:

https://techcommunity.microsoft.com/t5/iis-support-blog/how-to-create-an-app-registration-in-azure-ad-for-a-bot-solution/ba-p/810761

RNLS0176
  • 115
  • 4
  • 13