In the development of microelectronic technologies, the failure analysis makes it possible to define corrective actions thanks to the understanding of the failure mechanism. In order to define the most adequate localization and observation techniques to use, a failure analysis flow is required. The sample preparation is a key step of this flow. This flow must continuously evolve to take into account the technological innovations that introduce new materials, and increase the complexity of assembled components. This work concerned the sample preparation flow for the failure analysis of two product families : the discrete products and IPAD, and the micro-batteries. Concerning the discrete products and the IPAD, an optimization of the current flow was performed with the integration of new approaches developed to solve failed cases. For the micro-batteries, the used materials and their architecture required an entire reappraisal of the sample preparation flow.