Question: is azide a good leaving group?
Answer: Acyl azides are activated carboxylate groups that can react with primary amines to form amide bonds. The azide function is a good leaving group similar to the N-hydroxysuccinimide group of NHS ester compounds.