Scale app - OfficeDev/microsoft-teams-apps-company-communicator GitHub Wiki

Scale

If you need to scale the app for large number of users(greater than 200K), please follow the below steps.

1. Create new Storage Account for Durable function.

  1. Find and goto the resource group which is used for the Company Communicator app deployment.

  2. Click on + Create.

  3. Then, search for Storage Account and click on Create.

  4. Now, fill in the fields such as Storage account name and click on Review + Create.

  5. Once the resource is created, then goto Storage Account.

  6. Under Security + networking, click on access keys.

  7. Then, click on Show keys and copy the key1 connection string.

  8. Now, goto the Company Communicator prep function and click on Configuration.

  9. Update the value of Azure.WebJobsStorage with the connection string from step 7.

  10. Click on Save to commit changes.

    Please make sure to keep the below value less than 50rps, as going over this rate can get the bot blocked.

       "serviceBus": {
       "messageHandlerOptions": {
           "maxConcurrentCalls": 30
       }
       }