Reputation: 71
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?
Upvotes: 4
Views: 967
Reputation: 509
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.
Upvotes: 3