Azure Server Secret for VPN Setup

Mac 1 Reputation point
2021-07-21T19:35:09.51+00:00

I downloaded the Azure Client VPN for macOS for my macbook through the app store. I tried setting up the Azure client but I cannot find the server secret to complete the setup. I have access to the Azure Gateway but I do not see it in the configuration files or settings. Can you provide details on how to extract the server secret so I can try using the Azure Client VPN?

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,795 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. SaiKishor-MSFT 17,336 Reputation points
    2021-07-21T23:36:54.967+00:00

    @Mac Thank you for reaching out to Microsoft Q&A.

    Azure VPN Client only supports OpenVPN protocol so please make sure that in the configuration, you choose OpenVPN as Tunnel Type. Here are snapshots showing how to get access to the Server Secret.

    As seen from the below snapshot, with the Tunnel Type OpenVPN, please click on "Download VPN client"
    116883-p2s-1.png

    Then open the file that says AzureVPN
    116853-p2s-2.png

    This should contain the Server Secret as shown below
    116893-p2s-3.png

    Please let me know if you face any challenges withthe same and we will be glad to assist further. Thank you!

    Remember:

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    Want a reminder to come back and check responses? Here is how to subscribe to a notification.

    1 person found this answer helpful.

  2. Mark E 161 Reputation points
    2021-07-21T21:54:29.367+00:00

    Have you followed this guide?

    https://learn.microsoft.com/en-gb/azure/vpn-gateway/openvpn-azure-ad-client-mac

    There’s a link within the doc to show how to extract the config profile and then import.

    There are though some certain circumstances in which the VPN endpoint needs to be setup for, per; https://azure.microsoft.com/en-us/updates/public-preview-of-azure-vpn-client-for-macos/

    Hope that helps.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.