The Scots had trailed 17-0 at the interval but pulled level in the second half before the All Blacks sneaked a win.
Scotland will face Fiji, South Africa, Portugal and Australia at Murrayfield next month.
More from us
Did you know with a Plus subscription to Express and Star you get full access to our award winning journalism for the news that matters to you and more.