TTS Microsoft crashes HA

Hello,
I want to add Microsoft TTS (Text-To-Speech) to my HA.
When I edit old google say service with a new one:
I copied config from this documentation
and I put it directly into my config:

tts:
  - platform: microsoft
    api_key: !secret api_azure_ms_tts

and when I restart HA, I can see tts.microsoft_say service and I am calling my media player chromecast from states page, and in a popup window I can enter a message, and when I enter and hit send, after that my HA crashes, I lost connection to ssh, so I cant retrive the logs.
Any thoughts? Thanks

Not really, but look here…

If people are still looking for a solution to this, I had the same problem, and resolved this by making sure the region was configured correctly in the configuration.yaml file.

In the Azure console you will see the Location your Cognitive Services are running for example mine is: West Central US. Which. If you go to the link below you will see that the Region identifier for this is: westcentralus. That is the region you put in the configuration.yaml file and then it started working for me.

You have choices of voices, and it sounds better to me then the free Google TTS.

Do you know of any other problem?

I check that the reagion is correct but it still no working:

tts:
  - platform: microsoft
    api_key: f2683641e4854813a43515040d990278
    language: en-gb
    gender: Male
    type: George, Apollo
    rate: 20
    volume: -50
    pitch: high
    contour: (0, 0) (100, 100)
    region: eastus

I´m calling the service like this in the automation:

data:
  entity_id: media_player.bocina_luis
  message: "Alert person detected"
service: tts.microsoft_say