The Diamondbacks outrighted Vieira to Triple-A Reno on Aug. 2.
Arizona designated Vieira for assignment Saturday.
The Diamondbacks claimed Vieira off waivers from the Orioles on Thursday, Theo Mackie of The Arizona Republic reports.
The Orioles designated Vieira for assignment Monday.
The Brewers traded Vieira and Aneuris Rodriguez to the Orioles on Saturday in exchange for Garrett Stallings.
Vieira was designated for assignment by the Brewers on Monday.
Vieira earned his second career save Sunday in a win over the Mariners, allowed two runs on a hit and a walk while striking out five over three innings.
Vieira is included on the Brewers' 26-man active roster for Friday's season opener versus the Mets.
The Brewers placed Vieira on the 15-day injured list Monday with a right calf strain.
Vieira was selected from Triple-A Nashville on Wednesday.