Disclosed are methods, reagents, and intermediates useful for making azaindazole derivatives, which may be used to modulate Glucokinase. The disclosed methods and materials are generally useful for making halo-esters and sulfonyl-substituted compounds.