"Firearms, cartridges, explosives and espionage equipment were found during the arrest," the Azerbaijani national security ministry said.
The 22 detainees are said to have received orders from the Revolutionary Guards to "commit terrorist acts against the US, Israeli and other Western states' embassies and the embassies' employees".
Recruited as far back as 1999, they were allegedly trained in the use of weapons and spy techniques at military camps in Iran.
