Azure VPN Client not working on MAC book 2023 M2

Air2 35 Reputation points
2023-05-11T10:01:11.1666667+00:00

When I connect the VPN it stays disconnected, but the log says:

05/11/2023 11:49:09: Information Dialing VPN connection XXXX Azure VPN, Status = Success

05/11/2023 11:49:09: Information Dialing VPN connection XXXX Azure VPN

05/11/2023 11:49:09: Information Saving AAD User Account

05/11/2023 11:49:09: Information Successfully Received AAD Credential Token. User: xxx@xxxx.com

05/11/2023 11:48:36: Information The VPN connection profile XXXX Azure VPN is added/imported successfully.

05/11/2023 11:48:36: Information Application Initialized

I use the same configuration on my old mid 2015 MacBook, on this old MacBook it works fine. A colleague uses a 2019 MacBook (intel) and it works also fine. But on my brand new m2 MacBook it does not work. My colleague and I use the same version of Ventura: 13.3.1 (a)

How can I get more info on what is going wrong here?

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,425 questions
{count} vote

Accepted answer
  1. ChaitanyaNaykodi-MSFT 24,081 Reputation points Microsoft Employee
    2023-05-24T14:57:00.5+00:00

    @Air2 & @David Pulley & @Sumaia Ratib Ali Awadallah

    We got an update regarding this issue from the product team.

    Installing Rosetta app helped in resolving the issue.

    The root cause for this issue is:

    Rosetta doesn’t come pre-installed on Apple Silicon M1 or M2 Macs. This means you will have to download and install it on your own.
    As Rosetta was not installed on the machine the mactunnelextension plugin was not able to launch.

    What is Rosetta?
    Rosetta 2 enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor.
    More details can be found here: If you need to install Rosetta on your Mac - Apple Support

    We understand this is currently not documented; we will work with the team to get this added to our documentation.

    @Air2 if I understand correctly, for you the issue was resolved after installing the Rosetta App.

    Please let us know if you have any further questions. Thank you!


    It will be helpful if you can "Accept the answer" if the information helped you. This will help us and others in the community as well.

    5 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Air2 35 Reputation points
    2023-05-24T17:34:04.0766667+00:00

    For me it solved the issue. To manual install rosetta2 you need to run a commandline prompt because the azure vpn client does not request it, which it normally should. So i consider this a work around and I really suggest to update the azure vpn client to make it request this software as it should

    2 people found this answer helpful.
    0 comments No comments

  2. ChaitanyaNaykodi-MSFT 24,081 Reputation points Microsoft Employee
    2023-05-12T22:41:11.58+00:00

    @Air2

    Thank you for getting back and sharing additional details.

    On an other Mac I see the com.microsoft.AzureVpnMac.PacketTunnel*.log should be in the same directory as the AzureVpnClient.log, on my new MacBook it is not. So something is going wrong, but I cannot see what it is.

    Your understanding here is correct. As the protocol level com.microsoft.AzureVpnMac.PacketTunnel*.log file is missing the likely issue is that mactunnelextension  process is not able to start. You can confirm this by trying to connect from client & and open Activity Monitor to check if mactunnelextension  process is running or not. You can also check for logs in the Console App and apply a filter for networkextension and see if you are able to observe any errors.

    Ref: https://support.apple.com/guide/console/log-messages-cnsl1012/mac

    If you are unable to observe any errors the appropriate action here will be to create a support request as a support engineer can take a deeper look at the logs and provide additional insights specific to your environment. If you have a support plan you may file a support ticket, else could you please send an email to azcommunity@microsoft.com with the below details. I will help create a one-time free support ticket for you in this case.

    Subject : Attn Chaitanya

    Thread URL: Link to this thread.

    Subscription ID

    Please let me know once you have done the same.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


  3. David Pulley 0 Reputation points
    2023-05-22T15:00:09.52+00:00

    I have the same issue

    I have an brand new out of the box MacBook Pro M2 and once first logged in and signed into my apple ID the first thing i do is put the Azure VPN so I can connect it to the work domain but I get stummped by the same issue

    This is not on just one mac I have half a dozen with the same issue, The older mac with Intel chip work just fine