It looks like site-to-site pre-shared key cannot contain - (dash)

Oleg Andreyev 36 Reputation points
2022-04-25T08:37:51.11+00:00

196086-image.png

vs

196087-image.png

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,369 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 22,311 Reputation points Microsoft Employee
    2022-05-05T21:16:03.413+00:00

    Hello @Oleg Andreyev , apologies for the delayed response here.

    You observation here is correct. The pre-shared key must only contain printable ASCII characters except space, hyphen (-) or tilde (~). It is documented here.
    Please let me know if you have any additional questions. Thank you!

    1 person found this answer helpful.
    0 comments No comments