Player-coach Jess Fishlock opened the scoring in first-half stoppage time, before striker Beverly Yanez sealed the win in the 72nd minute courtesy of a goalkeeping error from Gabrielle Dal Busco.
It was the second grand final heartbreak for Glory, who lost the title decider to Canberra in Perth two years ago.
City were undefeated last season on the way to winning the title in their maiden campaign.
But they did it much tougher this time around, with a six-match winless run during the middle of the season threatening their finals hopes.
The defending premiers eventually scraped into fourth spot, and they won their way into the decider with a 1-0 semi-final win over minor premiers Canberra.
City should have opened the scoring in the grand final after just 48 seconds, but Yanez let a free header on goal go begging after totally misjudging the bouncing ball.
Glory striker Sam Kerr was a constant threat during the opening 30 minutes as the home side asserted their dominance.
But City slowly worked their way into the contest, thanks largely to the influence of Fishlock through the midfield.
Fishlock set up numerous opportunities for her teammates and she scored after Glory’s defence was broken open by a clever one-two play between Erika Tymrak and Yanez.
Fishlock almost did the splits as she thrust out her right leg to poke the ball home.
Kerr had an excellent chance to level the scores in the 69th minute, but her free header drifted agonisingly wide.
And just three minutes later it was as good as game over when a goalkeeping mistake gifted Yanez a goal.
Dal Busco should have punched the ball clear after Yanez’s attempted cross flew goalward.
But her light contact with her hand wasn’t enough to deflect the ball away far enough, with the ball instead sailing into the top of the net.
“It’s incredible,” Fishlock said of her team’s history-making achievement.
“It’s real hard to go back to back in any league, male or female.
“It’s one of the hardest things to do, because you do get complacent, and sometimes you don’t make changes to your squad, and that can hurt you.
“I’m really happy. I’m a little bit ecstatic.”
Glory coach Bobby Despotovski was proud of his side’s ability to come from eighth last season to reach the grand final.
“I’m ever so proud of the girls. What they achieved this season was remarkable,” Despotovski said.
“That goal in the 46th minute shook us up a little bit. That unsettled us going into the break.”
Local News Matters
Media diversity is under threat in Australia – nowhere more so than in South Australia. The state needs more than one voice to guide it forward and you can help with a donation of any size to InDaily. Your contribution goes directly to helping our journalists uncover the facts. Please click below to donate to InDaily.