Can anyone make Azure VPN Client work on macOS?

I’m trying to log in and after hitting connect I’m getting the following errors:

06/05/2021 20:24:38 Error getKeyChainSecret: Failed to retrieve KeyChain secret. Status code -25300
06/05/2021 20:24:38 Error handleAADClientAuthCachedUser: There is no last used account Username saved in KeyChain for VpnConnection: vpn_name AAD Auth!

06/05/2021 20:27:36.490 ERROR com.microsoft.AzureVpnMac.mobileAccessClientCore TID=4898931 MMALogger.swift: 27 (log(_:level:)) OPENVPNBUILDER:Unable to create OpenVPN connection due to error error: 2909f0100000005 from OpenVpnConnection.cpp line 159, facility MobileAccess with detail: server response malformed
06/05/2021 20:27:36.491 ERROR com.microsoft.AzureVpnMac.packetTunnelProvider TID=4898931 PacketTunnelProviderConnection.swift: 540 (acquireTokenAndConnect(identity:scope:vpnBuilder:configuration:completionHander:)) Failed to connect to server.
MARCError - Facility: MobileAccess, error code: 5, file name: OpenVpnConnection.cpp, line number: 159
06/05/2021 20:27:36.491 ERROR com.microsoft.AzureVpnMac.packetTunnelProvider TID=4898931 PacketTunnelProviderConnection.swift: 572 (acquireTokenAndConnect(identity:vpnBuilder:configuration:)) Failed to connect to server.
MARCError - Facility: MobileAccess, error code: 5, file name: OpenVpnConnection.cpp, line number: 159
06/05/2021 20:27:36.491 ERROR com.microsoft.AzureVpnMac.packetTunnelProvider TID=4898931 PacketTunnelProvider.swift: 356 (connectionFailed(error:)) Connection to VPN server failed.
MARCError - Facility: MobileAccess, error code: 5, file name: OpenVpnConnection.cpp, line number: 159

Couldn’t find anything online and I wondered if someone was able to work around this issue.

The same configuration file works well in Windows.

Any help would be appreciated!

Latest stable in the App Store still has this problem. There’s a secret beta client that works, but they only give you access to it if you open a support ticket.

Yes I rolled it out to the company as a preview to replace the other openvpn clients with radius.

It have worked fine so far for the last macos release can’t remember the name (big sur?) And the previous one Catalina.

Also you seem to be having a keychain issue. Look at the first and second printout. It says it can’t find a vpn user keychain. Try deleting the profile and finding the keychain keys for the vpn client and deleting them so it starts from scratch. And Instead it creates.