Barium azide can be used to make azides of magnesium, sodium, potassium, lithium, rubidium and zinc with their respective sulfates.
It can also be used as a source for high purity nitrogen by heating:
This reaction liberates metallic barium, which is used as a getter in vacuum applications.