Pashkevich switched to Azerbaijan in the 1996–97 season. He placed seventh at the 1997 European Championships and eighth at the 1997 World Championships. The following season — his last — Pashkevich won the bronze medal at the 1997 Trophée Lalique and silver at the 1997 Nations Cup, qualifying for the Champions Series Final where he placed sixth. He withdrew from the 1998 European Championships but competed at the 1998 Winter Olympics in Nagano, Japan, and finished 16th. He was coached by Marina Kudriavtseva. He retired at the end of the season.