Yes, you will be in violation of your probation. Probation can bar you from things which are otherwise legal--like, for example, socializing with people with certain criminal records or backgrounds. Or take drinking: drinking alcohol is legal, but nonetheless, your probation bans you from it. Similarly, it can ban you, for the duration of probation, from using now-legal marijuana.