Prime Minister Jacinda Ardern has made an emotional apology to the family of the 22-year-old British backpacker Grace Millane.
A 26-year-old man charged with her murder appeared in the Auckland District Court this morning.
Ms Ardern said she could not imagine the grief that her family would be going through.
As she spoke to media at her weekly post-cabinet news conference, Ms Ardern became visibly upset as she said sorry to Ms Millane's family.
"From the Kiwis I have spoken to there is this overwhelming sense of shame that this has happened in our country, a place that prides itself on its hospitality, on its manaakitanga, especially to those who are visiting our shores.
"So on behalf of New Zealand I want to apologise to Grace's family: Your daughter should have been safe here and she wasn't and I'm sorry for that."
Ms Ardern said she had advised the family through the police that if there was anything the government could do to assist, it was there to help.
Ms Millane, who went missing on the eve of her 22nd birthday, was last seen last Saturday night going into CityLife Hotel with a man.
The man was with Ms Millane at several places, including Sky City, before going to CityLife Hotel with her.
A body was discovered yesterday afternoon, in an area of bush just 10m off the road, in Auckland's Waitakere Ranges. The body has been removed the scene and is yet to be formally identified, but police believe it is the backpacker.
A Titirangi resident said he was disgusted and embarrassed this had happened in New Zealand.
"I have a daughter and I have granddaughters who've been to Europe and South America and they came home. This girl didn't come home - and that's sad."
He said young women should be able to travel around the world without the fear of being attacked.
The 26-year-old accused of murdering Ms Millane between 1 and 2 December appeared this morning dressed in a blue boiler suit.
The court heard extensive submissions on interim name suppression, but Judge Thomas declined to grant it.
The accused's lawyer Ian Brookie indicated he would appeal, prohibiting media from identifying the accused in the meantime.
He has been remanded in custody until he appears in court in January.
However, some media outlets have identified the accused online, including a photograph, before taking the articles down.
Police are reminding people that it is an offence to breach name suppression and that includes naming someone on social media.
One of Ms Millane's brothers has paid tribute to his sister, posting a series of photos of himself with her online, captioned with the lyrics to the song You Are My Sunshine.
Declan Millane's tribute joined a stream of others online, including from the University of Lincoln where Ms Millane had graduated before heading off to travel the world.
A candlelit vigil will be held in central Auckland on Wednesday to honour the memory Ms Millane.
The organisers say it will be a gathering to remember all the women killed in Auckland and across the country this year.
People wishing to attend are being asked to meet in Federal Street.
Another vigil, supported by White Ribbon, will be held earlier in the evening at St Patrick's Square.
In Queenstown, a candlelit vigil will be held for Grace Millane tomorrow at 7pm in front of The Bathhouse.