Giuliani cannot take the AG role because his law practice includes lobbying for foreign interests. There’s no way he’d be willing to accept the ban on such after serving as AG per Trump’s rule for serving in a cabinet position.
This is the main reason Giuliani didn’t take a cabinet slot in January.
I heard Giuliani say he’s very happy with what he’s doing now when asked about the rumors during Trump’s cabinet selection.