1
votes

I am working on a notification only teams bot limited to members of a single azure ad tenant. Based on this documentation - https://docs.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?

1

1 Answers

1
votes

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.