The Universal License Terms of Microsoft (applicable to Teams as well) clearly say they don't use customer data (Input) for training: https://www.microsoft.com/licensing/terms/product/ForallOnli...
Whether someone believes it or not, is another question, but at least they tell you what you want to hear.