I've done a lot of work inside my house. Unfortunately one of the problems I keep having is with my microwave. It's a new microwave and it will occasionally trip the breaker when I turn it on. It's a new microwave by itself on a new GFCI outlet on a new breaker box with a 20 amp breaker. I have no idea why it occasionally trips the breaker.
If the GFCI outlet is not "tripping" then I would swap the breaker around to see if its a breaker fault
Also when breaker is off see what other outlets are also off
Microwaves draw from 10-15 amps on start up
"occasionally trip breaker" can mean another device that draws power "occasionally" is sharing that breaker, and if its on, and microwave comes on breaker trips
Refrigerator/Freezers cycle on and off randomly for example