(CNN) US officials sharply condemned Iran on Tuesday as "provocative" and "irresponsible" after it conducted its first missile test since President Donald Trump took office.

A US defense official told CNN the medium-range missile was launched on Sunday, and that the test failed, posing no threat to the US or its allies in the region.

The US Ambassador to the UN, Nikki Haley, had strong words for Iran following UN Security Council discussions on reports of Iran conducting a ballistic missile test.

"This is absolutely unacceptable," Haley said. "We will act accordingly ... we will be loud."

State Department spokesman Mark Toner said in a statement Tuesday that the US is "well aware of and deeply troubled by Iran's longstanding provocative and irresponsible activities."

JUST WATCHED How fast can a nuke fly? Replay More Videos ... MUST WATCH How fast can a nuke fly? 02:27

Read More