A much-changed Manchester City survived a couple of big scares and an injury setback to see off League Two Salford City in the FA Cup and book their place in Monday's fifth-round draw.
The seven-time winners, who put 10 past Exeter City in the third round, got off to a flying start on Saturday when Alfie Dorrington put past his own keeper inside six minutes.
However, the hosts - who made made nine changes - struggled to build on their lead and lost defender Max Alleyne to injury in the 22nd minute.
Salford, thrashed 8-0 by City in the third round last season, regrouped after conceding early and twice went close to scoring before half-time.
Former Liverpool player Ben Woodburn forced a fine save from James Trafford before Brandon Cooper headed wide from a corner right at end of the half.
Salford had further chances to score after the interval, with Dutch midfielder Kelly N'Mai firing into the chest of Trafford.
Guardiola, who was without Erling Haaland, sent on Antoine Semenyo, Marc Guehi and Nico O'Reilly to inject some energy into a lacklustre performance - and Guehi responded with his first goal for the club to put the tie to bed.
The England defender, who helped Crystal Palace overcome Guardiola's side in last season's final, slotted home after keeper Matthew Young could only palm a cross into his path.
This victory extended City's winning run in FA Cup home ties to 17, since they were knocked out by Championship club Middlesbrough in the fourth round in 2015.
That streak includes 77 goals and 11 clean sheets, but this was a scrappy performance by a club looking to reach a fourth FA Cup final in a row.
Salford, co-owned by former Manchester United stars Gary Neville and David Beckham, were in the tie right up until Guehi doubled the hosts' advantage in the 81st minute, and will take heart from this performance as they look to secure promotion to League One.
While Guardiola's side failed to hit top gear, there were still a couple of positives to take from this performance.
John Stones emerged from his first start since November unscathed, while Trafford - starting in place of regular number one Gianluigi Donnarumma - made a couple of decent saves as he looks to seal a place in the starting XI against Arsenal in next month's Carabao Cup final.
There was also Guehi's first Manchester City goal to celebrate, with the centre-half pouncing to help ease some home nerves late on.