STXM as well as XAS measurements presented in this paper were performed at the HERMES beamline of synchrotron SOLEIL. A zone plate of 25 nm outer zone width was used (Applied Nanotools Inc., Canada). A photomultiplier tube (PMT) capped with a phosphorus screen was used to detect the transmitted photons. The STXM chamber was maintained at a pressure of 3x10 -5 mbar during measurements. All the measurements were performed in stack (Greatcell Solar) and PbI2 at a molar ratio (FAI:PbI2) of 1:1 with 0.33 M of molar concentration.