question

BinilBalakrishnan-5303 avatar image
1 Vote"
BinilBalakrishnan-5303 asked XingyuZhao-MSFT commented

System.DirectoryServices is not supported on this platform.

Hi,
I am converting a .net core application which run on Windows to container image on linux. This application check for AD group the user belongs to and uses System.DirectoryServices namespace. But when running in linux container, getting this error System.DirectoryServices is not supported on this platform. So is there a fix for this or any equivalent namespace I can use in linux to achieve this functionality.

Thanks,
Binil.

dotnet-runtime
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @BinilBalakrishnan-5303 ,
Take a look at the following library: .NET Standard LDAP client library
Here's another reference you may need: Will System.DirectoryServices work in Future?
Hope them could be helpful.

0 Votes 0 ·

0 Answers