Kammala wannan jumla: Andrey Glebov an haife shi ne a cikin dangin masarautar Rasha daga Chernigov Governorate. Ya fara aiki a cikin sojojin lokacin da yake da shekaru 20, a Livonia. Bayan ya yi aiki a cikin rukunin na 3 na Lifland Jager Corps a watan Janairun 1791, ya yi aiki a Poland tsakanin 1792-1794. A ranar 30 ga Yuli, 1797, an canza shi zuwa 7th (daga baya 6th) Jager Regiment. A cikin kamfen na Italiya da Switzerland na 1799 wanda "Generalissimo" Alexander Suvorov ya jagoranta, Glebov ya bambanta kansa a yaƙe-yaƙe a Brescia (10 ga Afrilu 1799), da kuma a Lecco, wanda ya faru a ranar 26 zuwa 28 ga Afrilu 1799 kuma a lokacin da ya ji rauni a ƙafar hagu. Don ayyukansa a yakin Lecco, an ba shi lambar yabo ta St. Anna, 4th Class. Daga baya ya ci gaba a Marengo, kuma a kan Tidone da Trebbia. A lokacin yakin Trebbia, ya ji rauni a ƙafar dama, kuma daga baya aka ba shi "portupei-junker", wanda yake wani abu kamar "darajar ɗaliban ɗalibai" wanda aka tanada kawai ga sojoji daga masu daraja. Ya ci gaba da aikin soja a
Novi, inda aka ji masa rauni a kai. An daukaka shi zuwa sub-lieutenant a ranar 25 ga Agusta 1799, kuma ya ci gaba da fada a St. Gotthard (raunata a hannun hagu) da Schwanden; a karshen ya sami rauni a kai kuma sojojin Faransa suka kama shi. Ya kasance a cikin bautar Faransa na tsawon shekaru biyu.