Azure AD Domain Services and Azure VPN Client from a Joined Desktop

Mike DiMartino 0 Reputation points
2025-06-15T18:54:01.0533333+00:00

After joining a remote device to Azure AD Domain Services and signing in as a domain user or global admin, & attempts to connect with Azure VPN Client fails with: ‘Failure while accessing vault. Cannot open vault. Please check whether credential manager service is running... Error code 0x80090345. The computer must be trusted for delegation...’ Credential Manager cannot be opened and throws the same error. How is this resolved.

I opened ticket with my paid Azure support account ($100 p/m) but as with all my Azure support tickets they go unanswered.

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

1 answer

Sort by: Most helpful
  1. Alex Burlachenko 10,335 Reputation points
    2025-06-19T08:26:25.7866667+00:00

    Mike hi, firstly thx thanks for posting this at Q&A,

    lets make sure the device is properly trusting azure ad domain services. the error screams delegation issues, right? go to group policy management on ur domain controller and check 'computer configuration > policies > windows settings > security settings > local policies > user rights assignment'. look for 'trust this computer for delegation to any service' and add the computer object there. microsoft explains this delegation stuff pretty clear here https://learn.microsoft.com/en-us/windows-server/security/kerberos/kerberos-constrained-delegation-overview. also, restart the credential manager service after making these changes. sometimes it just needs a kick to behave ))

    credential manager acting up? classic moment lol try running 'services.msc' and make sure 'credential manager' service is running. if its stuck, set it to automatic and give it a fresh start. this might help in other tools too when u see vault errors. worth looking into whether ur windows is fully updated - some older builds get cranky with modern auth stuff. the basic credential manager troubleshooting applies to most windows auth issues...

    and about that azure support ticket... yep, been there. while waiting, u could also check if ur device's time sync is perfect. time drift messes with kerberos tickets like crazy. quick 'w32tm /resync' in cmd as admin might save u hours of pain )) microsoft's vpn gateway docs mention network level auth requirements here https://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant. give that a peek too.

    if u get it working, come back and tell us what clicked, thx..

    rgds,

    Alex

    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.