KeyChain Failed Mac for AzureVPN Client

ConnorPitt-3116 0 Reputation points
2024-04-16T11:47:01.7933333+00:00

Hi,

I've been trying to set up the Azure VPN client for a customer but I'm being met with the following

Error getKeyChainSecret: Failed to retrieve KeyChain secret. Status code -25300 16/04/2024 09:58:35 Warning removeClientAuthLoginCredentials: Failed to retrive previously saved ClientAuth: aad secret for Vpn connection: Dev, so no cleanup is needed!

I have tried everything that has been recommended & I'm still getting the same error.

I have tried the following;

Manually install Rosetta (This worked & then after disconnecting to reconnect it went back to failing)

Uninstalling the Azure VPN Client App & Reinstalling

Reimporting the configuration

Restarting the Mac

Updating the Mac

Everything still outputs the failure & I'm completely lost for what to try next, any help/guidance would be appreciated on this.

The com.Microsoft.AzureVpnClient also doesn't exisit anywhere that I can see in the keychain either for me to be able to delete this so a fresh one is created.

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

1 answer

Sort by: Most helpful
  1. Viet Luong 0 Reputation points
    2024-10-29T04:49:20.34+00:00

    hi guys, the error doesn't seem to relate to anything like the client version or OS version.

    We had the same issue with the error "Error getKeyChainSecret: Failed to retrieve KeyChain secret. Status code -25300", then we did an experiment as below:

    • On machine A, connect through Azure VPN using account X => experience the issue
    • On machine A , connect through Azure VPN using account Y => connect successfully
    • On machine B , connect through Azure VPN using account X => connect successfully
    • On machine B , connect through Azure VPN using account Y => connect successfully

    Something should be wrong with the user data processing progression, that causes the data of account X to be broken on machine A. All consequent logins made on machine A will retrieve the same broken data and cause a stuck.

    I don't know how to delete the broken data. Hope someone can give me some suggestions

    0 comments No comments

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.