The impact of the three-dimensional (3D) tokamak geometry from external magnetic perturbations (MPs) on the local edge stability has been examined in high confinement mode (H-mode) plasmas with edge localised modes (ELMs) in ASDEX Upgrade. The 3D geometry has been probed using rigidly rotating MP fields. The measured distortions of the plasma bound…