Custom Credential Provider crashes at cloud VM (AWS EC2, Azure)
rehan199 opened this issue · 1 comments
My Custom Credential Provider "XCP" is not working on EC2 instance. I used this code base (https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/Win7Samples/security/credentialproviders/samplecredentialprovider) for developing the XCP. The windows application "LogonUI.exe" tries to invoke XCP and fails, so I'm unable to log into my VM. I have tested it over multiple machines and it works fine but only cloud based VMs are failing.
View log: Report.txt
I just checked that code based on WrapCredentials works fine and has no issue with it. So my old code works on local VMware based VMs but fails at the cloud as mentioned above. But this WrapCredentials based code works fine everywhere. But, it is a bit hard to port the old code base to one based on "WrapCredentials". Any guidance material?
WrapCredentials:
"samplewrapexistingcredentialprovider" https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/Win7Samples/security/credentialproviders/samplewrapexistingcredentialprovider