Inverting glycosyltransferase that catalyzes the transfer of one glucose moiety from UDP-glucose to an asparagine residue in peptides and proteins containing the NX(S/T) motif, resulting in their modification with a beta-linked 1,N-glucose. Likely acts as a key component of a general protein glycosylation system. Also accepts UDP-galactose as a substrate donor, albeit with low efficiency. Cannot use UDP-GlcNAc or UDP-GalNAc as substrate donor. L-asparaginyl-[protein] + UDP-alpha-D-glucose = H(+) + N(4)-(beta-D-glucosyl)-L-asparaginyl-[protein] + UDP Does not require a metal cofactor. Protein modification; protein glycosylation. Belongs to the glycosyltransferase 41 family.