Diamondbacks manager Torey Lovullo said Monday that Ahmed will undergo surgery on his right shoulder, Theo Mackie of the Arizona Republic reports.

Ahmed missed the start of the season with a shoulder issue and was only able to return for 17 games before heading back to the injured list. His issue evidently won't go away without surgery, and the Diamondbacks are merely hopeful that he'll be able to return this season. Expect Geraldo Perdomo to handle shortstop for most of the rest of the year and potentially the entire campaign.