Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Service URL for Notification-Only Teams Bot

I am working on a notification only teams bot limited to members of a single azure ad tenant. Based on this documentation - https://learn.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-context - the serviceUrl could change.

Since the bot would hardly ever receive a request, how do I manage the serviceUrl? What could cause the serviceUrl to change?

like image 442
Daniel Adu-Djan Avatar asked Oct 29 '25 16:10

Daniel Adu-Djan


1 Answers

Service URL are unique to region, not tenant.

You can cache the team and user details when bot is added to a team in conversation update bot event. You could use it later to send messages.

like image 171
Subhasish Avatar answered Oct 31 '25 06:10

Subhasish



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!