Azure Point to Site VPN: KeyChain secret retrieval fails

While configuring Azure Point to Site Connection using Entra ID Authentication, we are facing the below error -

"Error getKeyChainSecret: Failed to retrieve KeyChain secret. Status code -25300".



 

MacBook Pro (M4 Max, 2024)

Posted on Nov 28, 2025 4:31 AM

Reply
4 replies

Nov 28, 2025 8:49 AM in response to litheshpoojary

It seems that this is a product by Microsoft.

You may get more appropriate assistance in a Microsoft forum, or by contacting the IT department of your organization (I'm presuming it's they would instructed to use this software).


If you are trying to use this in any other way than to connect securely to your work or school network (as instructed by their IT), then I suggest you just don't. This is the only instance where using a VPN should occur.

Nov 28, 2025 3:42 PM in response to litheshpoojary

Unless you're using a true VPN tunnel, such as between you and your employer's, school's or bank's servers, they provide false security from a privacy standpoint.  Read these articles:  Pubic VPN's are anything but private and Security Risks: The Dangers of Using Free VPNs (eccu.edu).    


Additionally a new study ("Apple Offers Apps With Ties to Chinese Military”) is specifically about VPN apps in Apple’s App Store.


I recommend uninstalling the VPN according to the developer's instructions. Then you can check to see if you've removed all of the supporting files by downloading and running the shareware app  to search for any files with the application's or the developer's name in the file name. 


Dec 1, 2025 10:18 AM in response to litheshpoojary

Is that for your employer, bank or school? If not consider the following: Unless you're using a true VPN tunnel, such as between you and your employer's, school's or bank's servers, they provide false security from a privacy standpoint.  Read these articles:  Pubic VPN's are anything but private and Security Risks: The Dangers of Using Free VPNs (eccu.edu).    


Additionally a new study ("Apple Offers Apps With Ties to Chinese Military”) is specifically about VPN apps in Apple’s App Store.


I recommend uninstalling the VPN according to the developer's instructions. Then you can check to see if you've removed all of the supporting files by downloading and running the shareware app  to search for any files with the application's or the developer's name in the file name.  For the Azure files you'd do the following search(es): 


1 - Name contains  azure

2 - Name contains vpn


Any files that are found can be dragged from the search results window to the Desktop or Trash bin in the Dock for deletion.


FAF can search areas that Spotlight can't like invisible folders, system folders and packages.  


If you get warnings that the file can't be deleted because it is in use or used by another app boot into Safe Mode according to How to use safe mode on your Mac, run Find Any File again and delete from there.


Note:  if you have a wireless keyboard with rechargeable batteries connect it with its charging cable before booting into Safe Mode.  This makes it act as a wired keyboard as will assure a successful boot into Safe Mode.

Azure Point to Site VPN: KeyChain secret retrieval fails

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.