After several hours of searching it appears that there is no way to query a local LDAP directory (Microsoft Active Directory or otherwise) from a UWP app.
This seems like a rather bizarre hole in the UWP offering, and so I'm hopeful that I'm just missing the obvious.
What (if anything) is the functional equivalent of System.DirectoryServices in the Universal Windows Platform world?
This thread is a little older, but you have 3 options today:
Use the Windows Compatibility Pack for .NetCore.
Use the Desktop Bridge to create a .Net component that does your LDAP queries. See this for more information.
If you can, move to the Microsoft Graph - link to samples.
Hope this helps.
System.DirectoryServices is not available in the UWP, but if you are using sideloading for your app then you can use Brokered windows component to get or create the details required through a endpoint in it.
You can get it here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With