Here is another similar thread for your reference: https://social.msdn.microsoft.com/Forums/en-US/c33b1082-2d25-49cc-bc58-dae3e1815fbb/uwpwindows10-with-ldap-active-directory?forum=wpdevelop
How can i connect to AD from UWP app
I have a .Net core project and another UWP project
In .Net Core i have used, and was able to query the Active directory
System.DirectoryServices
System.DirectoryServices.AccountManagement
But here i am getting an exception for both of these references.
System.DirectoryServices is not supported on this platform.
System.DirectoryServices.AccountManagement is not supported on this platform.
So do i have any other option to connect to AD from this UWP app
Any help will be appreciated
2 answers
Sort by: Most helpful
-
-
Bruce (SqlWork.com) 66,706 Reputation points
2022-03-09T02:50:22.023+00:00 The error means the feature was not implemented. As UWP is dead and in maintenance mode, it is not likely to get implemented. There azure ad support, via msal, if you are use azure ad.
Depending on the features you need you can use ldap, the standard fallback for ad services
https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard