Hi there!
You would need to perform a gradient calculation for this. The relaxed dipole moments are printed out by default when you run a geometry optimization in the excited state, e.g. with such keywords:
$ricc2
cc2
geoopt model=cc2 state=(a 1)
$excitations
irrep=a nexc=1
Or a minimal input for single point runs can look like this:
$ricc2
cc2
$excitations
irrep=a nexc=1
xgrad states=(a 1)
Cheers,
Arnim