There are a few reasons why you might not be able to edit a Teams message. If the message was sent more than 24 hours ago, it's been archived and can't be edited. If you've been removed from the team, or if your account has been blocked, you won't be able to edit messages.