"Now is not the time to be banning refugees, it's the time to be embracing people who are victims of terror," Miliband said to overwhelming applause.
It's no surprise that the scientists and tech innovators who attend the TED event would respond that way. More than 100 tech companies - including Apple, Google, Facebook, Microsoft and Uber - signed a brief in court cases challenging President Donald Trump's proposed travel ban in January.
The room also erupted in applause when Miliband suggested that in addition to hiring refugees, challenging untruths, and donating money, listeners could personally extend a hand by voting "for politicians who will put into practice solutions I talked about".
"It's a test of our humanity, it's a test of us in the western world of who we are and what we stand for. It's a test of our character," he said.
"It's revealing of our values. Empathy and altruism are two of the foundations of civilisation. Turn that into action and we live out a basic moral credo ... fail to help and we show we have no moral compass at all."
Luma Mufleh, a Muslim born in Jordan who was granted political asylum in the United States because she is gay, then shared personal accounts of working with refugees outside of Atlanta.
Mufleh is the founder of Fugees Family, which she began as a football programme for refugee children after watching a few kids in an apartment complex playing barefoot with rocks as goals, and has grown into an after-school programme and an academy.
"Their journeys are haunting but what I get to see every day is hope, resilience, determination, a love of life and an appreciation for being able to rebuild their lives," she said.
There's the Syrian mother who cleans hotels and at the end of the day, her feet aching, remarks only on how lucky she feels.
But then, there are still the moments where the politics and hateful rhetoric are retraumatising.
Mufleh said an Iraqi girl whose father was an interpreter for the US military cried to her asking why people hated Muslims and refugees, and called her a "terrorist" on the football field.
"We have seen advancements in every aspect of our lives," Mufleh said, "except our humanity." Washington Post