Unable to connect VPN due to errors: getKeyChainSecret: Failed to retrieve KeyChain secret.

SC 0 Reputation points
2024-07-17T02:12:42.1633333+00:00

Unable to connect to VPN due to the following errors:

07/17/2024 11:59:20 Error getKeyChainSecret: Failed to retrieve KeyChain secret. Status code -25300
07/17/2024 11:59:20 Error handleAADClientAuthCachedUser: There is no last used account Username saved in KeyChain for VpnConnection: meeco-dev-vnet AAD Auth!
07/17/2024 11:59:20 Information sAcquireTokenInteractivelyNeeded: Account is not saved so interactive login will be needed.
07/17/2024 11:59:20 Error IsAcquireTokenInteractivelyNeeded: No AAD token acquired silently, Interactive login is required!
07/17/2024 11:59:20 Information removeClientAuthLoginCredentials: Using account: com.microsoft.AzureVpnMac
07/17/2024 11:59:20 Information getClientAuthLoginCredentials: Using account: com.microsoft.AzureVpnMac
07/17/2024 11:59:20 Error getKeyChainSecret: Failed to retrieve KeyChain secret. Status code -25300

Please note that I also tried the steps below but no luck fixing this issue:

  1. Remove Azure VPN client app
  2. Delete keychain related Azure VPN
  3. Reinstall Azure VPN client app
  4. Reinstall configuration and connect

Result: VPN remains disconnected Please note that the signin was successful. (Successfully received Microsoft entra credential token)

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,463 questions
{count} votes