New rhodium(II)-catalyzed or thermally induced intramolecular alkoxy group migration of N-sulfonyl-1,2,3-triazoles has been developed, affording divergent synthesis of 1,2-dihydroisoquinoline and 1-indanone derivatives according to different conditions. N-Sulfonyl keteneimine is the key intermediate for the synthesis of dihydroisoquinoline, whereas the aza-vinyl carbene intermediate results in the formation of 1-indanone.