Share via

Azure bot user removal problem

Kwangseok Moon 1 Reputation point
2022-08-16T12:24:29.363+00:00

I am developing a bot using teamsfx library.

The app was deployed using the Deploy to Cloud feature and the app was uploaded to Azure App Service.

When a user sends a message to the bot, it looks like the user is registered in the bot's list of users.

The bot can send notification messages to this user.

   for (const target of await bot.notification.installations()) {  
         for(const member of await target.members()) {  
           member  

However, restarting Azure App Service will remove all users.

I would like to back up all users' information in advance or keep the users.

What should I do?

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.