Reaction with hydrazoic acid forms the protonated azido ketone 2, which goes through a rearrangement reaction with the alkyl group R, migrating over the C-N bond with expulsion of nitrogen.
Hydrazoic acid reacts to form the protonated azido ketone 2, which then undergoes a structural change involving the alkyl group R. The alkyl group moves over the C-N bond and releases nitrogen as part of this transformation.