 He appeared in 71 games for the Athletics, hitting .234.On July 31, 2017, Rosales was traded to the Arizona Diamondbacks for Jeferson Mejia.He appeared in 34 games with the Diamondbacks, hitting .202 with 3 HR and 9 RBI.