The increase of human population and associated increasing demand for agricultural products lead to soil over-exploitation. Biofertilizers based on lyophilized plant material containing living plant growth-promoting microorganisms (PGPM) could be an alternative to conventional fertilizers that fits into sustainable agricultural technologies ideas. We aimed to: (i) assess the diversity of endophytic bacteria in beet roots and (ii) determine the influence of osmoprotectants addition during lyophilization on bacterial density, viability, salt tolerance. Microbiome diversity was assessed based on 16S rRNA amplicons sequencing, bacterial density and salt tolerance was evaluated in cultures, while bacterial viability was calculated by using fluorescence microscopy and flow cytometry. Here we show that plant genotype shapes its endophytic microbiome diversity and determines physicochemical rhizosphere soil properties. Sea beet endophytic microbiome, consisting of genera characteristic for extreme environments, is more diverse and salt resistant than its crop relative. Supplementing osmoprotectants during root tissue lyophilization exerts a positive effect on bacterial community salt stress tolerance, viability and density. Trehalose improves these parameters more effectively than ectoine, moreover its use is economically advantageous.