Participating for the 10th time in the tournament, the Russian needed two hours and 32 minutes to eliminate world No.6 Barty, reports Efe.
Sharapova, the world's No. 40, is set to play the second round on Wednesday against Slovakia's Dominika Cibulkova, who defeated Italy's Francesca Schiavone.
The Russian player has won three of her six clashes with Cibulkova.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)