is it possible to access ONPrem Active Directory via API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2023 10:12 AM
Hello Everyone,
I have requirement to add/remove users from OnPrem Active Directory.
Could this be done using APIs? Does OnPrem AD offers APIs?
if not then how can we update information into onPrem AD via code?
Please advise.
regards,
Rupinder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2023 12:35 AM
Hi @Community Alums ,
Yes, it is possible to access an on-premises Active Directory (AD) via API. Microsoft provides the Active Directory Web Service (ADWS) API, which can be used to manage AD objects and attributes over HTTP/S. This API requires a Windows Server 2008 R2 or later operating system with the Active Directory Web Services (ADWS) role service installed.
Alternatively, Microsoft also provides the Active Directory Domain Services (AD DS) Web Services, which provides a RESTful web API for managing AD objects and attributes. This API can be used to access an on-premises AD from outside the network using HTTPS.
Another option is to use a third-party tool or library to access AD via API. For example, the LDAP API provides a standard way to access directory services, including AD. There are also a number of LDAP libraries available for various programming languages.
Note that in order to access AD via API, you will need to have appropriate permissions and authentication credentials. It's important to ensure that your API access is secure and follows best practices for authentication and authorization.
Thanks,
Ratnakar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 07:03 AM
Hello @Ratnakar7
Thank you for the response, I will look into ADWs or AD DS. By any chance, do you have links to their documentation?
if you do, could you please share?
Regards,
Rupinder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 11:12 PM
Hi @Community Alums ,
You can refer Microsoft official documentation:
AD DS Getting Started
If my response was helpful in resolving the issue, please consider accepting it as a solution by clicking on the ✅Accept solution button and giving it a thumbs up 👍. This will benefit others who may have a similar question in the future.
Thank you!
Ratnakar