Catalyzes amidations at positions B, D, E, and G on adenosylcobyrinic A,C-diamide. NH(2) groups are provided by glutamine, and one molecule of ATP is hydrogenolyzed for each amidation (By similarity). Cofactor biosynthesis; adenosylcobalamin biosynthesis. Belongs to the CobB/CobQ family. CobQ subfamily.