What do you mean change the UPN suffix for Teams?
In Office 365, UPN equals to default SIP address in Skype for Business Online, Microsoft Teams as well. So, when you change the UPN suffix for users, it is also applied to Teams.
TonyS provides the PowerShell for bulk updating Azure AD/ Office 365 UPN suffix as below. Here is the thread for your reference.
Import-CSV "C:\UPNTest.csv" | Foreach { Set-AzureADUser -ObjectID $_.UserPrincipalName -UserPrincipalName $_.NewUPN }
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.