By default, Matter uses the name from your Slack or Microsoft Teams connected account. You can update this information in the respective platform settings.
Name change may take up to 24 hours to be reflected in Matter.
Change Matter User Name in Slack
Open Slack Workspace Home.
Go to Manage Members, select the User, and click "..." option.
Click Edit Profile.
Update the Full Name and then click Save.
For more information, Slack provides this Help Article to manage member names.
Change Matter User Name in Microsoft Teams
Go to Users, then All Users, and select the User.
Click Edit Properties.
In the Identity section, update the First Name and Last Name, and then click Save.
For more information, Microsoft provides this Help Article to manage user profiles.