A policy at Washington state agencies allowed Microsoft Teams messages between staffers to be automatically deleted after seven days.