Вопрос

Is it possible to programmatically call Azure Active Directory using the System.DirectoryService namespace?

In essence, can I talk to the LDAP API provided in .NET against Azure's AD service.

Это было полезно?

Решение

Azure Active Directory does not support the LDAP protocol so you won't be able to use .NET's System.DirectoryService classes. The AAD service uses something called the Graph API to query directory data. This is a REST based web API.

http://msdn.microsoft.com/en-us/library/windowsazure/hh974476.aspx

If you want to do authentication via AAD you can use the ADAL library:

http://msdn.microsoft.com/en-us/library/windowsazure/jj573266.aspx

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top