Why did Miranda die in my playthrough?

Okay, I did everything for her to live: I met her 3 times, warned her about Kai Leng, (which happens automatically when you meet up with her via video conference in the Spectre Office), and also I gave her the Alliance resources.
I didn't romance her in 2 or 3 because my Shepard is female and, I'm sure we're friends. In my ME2 save, she was loyal and survived the Suicide mission.
I chose the paragon option when I met Henry Lawson. He let Oriana go but Miranda still dies. I also tried the exact same thing but with choosing the Renegade option at the end, to no avail.
So I went far back to my save where FemShep just finish the mission about the Catalyst and Kai Leng stole that Prothean Tech. I thought how quickly you do the Sanctuary mission affected the outcome of Miranda's life - either she dies or lives, but that didn't do anything.
So here, I searched up all the possible ways and the topics on Miranda surviving. I even went to Youtube for that and even searched for cheats but really, nothing came up. Is there something I'm missing?
Best Answer
According to the German Mass Effect Wiki you have to tell her to talk to Oriana during her Loyalty Mission in ME2. If you didn't tell her to talk to Oriana Miranda always dies in ME3.
I can't find anything about this in the English Mass Effect Wiki and can't confirm it myself right now. So it would be great if somebody can check and confirm it.
Pictures about "Why did Miranda die in my playthrough?"



Why did my Miranda die?
If Shepard cannot persuade Henry diplomatically and does not shoot him after diplomacy fails, Miranda takes the initiative to kill her father herself, but Henry manages to get in a shot that fatally wounds Miranda, causing Miranda to die even if Miranda was warned about both the Cerberus attack and Kai Leng's return to ...Why does Miranda die in me3?
During the mission, she may also die if you do not persuade her father to back down. If that fails, you have to shoot him. If Miranda shoots her father, then she be fatally shot in return and die.RE7 DAUGHTERS DLC (GOOD ENDING)
More answers regarding why did Miranda die in my playthrough?
Answer 2
You have to meet her at the Docks on the Citadel before the Cerberus attack.
Answer 3
I am not sure whether it is possible to save her as just a friend. In my recent playthrough my Shepard had relationship with her in ME2, which they continued in ME3. I met her 3 times, warned her about Leng, supported her with allies resources, had sex, etc. By the Sanctuary mission I chose neither Paragon nor Renegade option. I chose the "we just need Oriana" option. After that pushed the Renegade button and shot Oriana on her leg. After that Miranda pushed her father out of the window and she stayed alive.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Karolina Grabowska, Karolina Grabowska, Karolina Grabowska, Flora Westbrook