For some crazy reason the sex of the Auto Attendant seems to be randomly determined by MS at time of creation and can't be changed from TAC
We has both male and female, but when you hand off to a call queue of the opposite sex, its not a great customer experience.
PowerShell - Tech team task
# Connect
Connect-MicrosoftTeams
]
# Look at all AA, once we have a lot may want to select specific one
#
get-csautoattendant
# Get variable, need to provide -identity value for the one that needs changing
#
$aa = get-csautoattendant -Identity 10a47416-788a-4367-90d9-11cba200b13d
# Check the Value
$aa.voiceId
# Set Value
$aa.voiceId = "Female"
# Check value
$aa.voiceId
# Change AA
set-csautoattendant -Instance $aa