This is an extremely tricky and delicate situation. As a DM, I generally do not allow social skills (Diplomacy, Intimidate, etc) to be used on other PCs, and while I've never had the issue come up, I don't think I would allow mind-control magic to be used either. The reason?
People play RPGs to participate in a group story with a character under their own control.
By taking away that player's autonomy, even just at certain times and even just for specific and generally noble reasons, you're taking away that player's fun.
I played under an extremely controlling GM once, and it was a miserable experience. It was so long ago I don't remember the specifics, but one particular incident that stands out in my memory is when my character did something that all the other players considered reasonable, but which didn't follow the path the GM wanted us to follow. The GM had an NPC knock me out (no saving throw, no defenses, just boom! unconscious), throw me in a bag, and literally drag me along in the plot. He argued that it was the right thing to do because it forwarded the plot, but I stopped playing shortly after, because it's not fun when someone else controls my character. After all, why am I even there, then?
One way you might have handled your situation without taking away the player's autonomy would be to talk to her, out of game, about how her character and her choices were interfering with the group and the game. Ask her for ways that her character could be more closely integrated into the group's goals, and discuss what might happen if she insists on playing in a counterproductive manner.
As an example, in one of my more recent games, I played a chaotic barbarian in a generally good-aligned group, not unlike your situation in many ways. My character had been magically altered to have a "trigger" that would send her into an unstoppable rage when set off. At first it was an interesting roleplay opportunity, but later an unfortunate series of events caused my character to kill an important NPC while in one of those rages, which lost our party major face with key political figures. After that session, the GM suggested to me that my character might not be a good fit for the party, and asked me to consider rolling up a new one. I could see the problems and I was aware that the party was upset about the NPC's death, so I agreed.
In my situation, the GM was on the ball, both about handling things out of game, and about finding a way for my character to exit the party gracefully. Your GM could have dealt with the matter differently, by talking to the player out of character, or by telling the group to find a way to resolve it in-character (and making it possible by finding a way around the "All of you" decree).
So in short, yes, it was wrong to take away another player's autonomy and choices, no matter the reason. If it must be done, then discuss it with the player first, and make sure you have their full consent before doing it.
Best Answer
There are two questions here, but the first one is easy, so I'll get that out of the way.
Would they be aware that they are being controlled?
No. The feature uses clear language saying that the are not aware that they are charmed.
Or will they try to come up with a reason for why they were doing the things they did?
TL;DR: It's up to the DM.
This part is harder. First I want to clarify that the creature will remember what it did while charmed. This is made clear by the second part of the "Alter Memory" feature, which allows to make the target forget part of the time spent charmed. That feature would be useless if the target would not remember that time.
So now that it is clear that the creature remembers it's actions under charm, what does it do with that memory? I believe a good aid is the 5th level spell "Modify Memory" (PHB 261), as it goes a bit more into detail on what a creature does with strange memories.
So if only the creature remembers the actions it did, it might ignore it, dismiss it as a bad dream. Up to the DM. However there is a significant difference here, the memories of a charmed creature are real and they might have had real effects on the environment. Other people can remember them.
So what if the creature is confronted with its actions while it was charmed?
I haven't found any dnd official information on this, so it would be up to the DM.
Speculation: However if we want to look further, we could turn to the real world psychology. If they did something cruel while charmed, they could act similar to people in the real world after a traumatic event. I could very well imagine such a person to be in denial of what happened. You should be able to find more information on this on the internet, I'm not well versed in psychology.
Edit: @Dave in the comments shared a video where brains are shown to come up with reasons, why the body did something, even though they didn't want to do it. The video might be mildly unsettling, so beware youtu.be/wfYbgdo8e-8.