Whilst the kit lens autofocuses fine on M6ii ...Canon ef lenses ( using genuine Canon ef to ef-m adaptor ) are really hit and miss...loads of shots soft on 70-200 and 24-70 ..
Here's your answer. Here's a link to the canon page for the M6ii listing recommended lenses for use with this high resolution sensor. Scroll down to 2/3 of the way down. https://www.canon.co.uk/cameras/eos-m6-mark-ii/