I need a script to access a comanys personel data from there Active Directory.
There are two problems I want to solve in two ways.
1. The companies that only has a on-premesis Acitve Directory, I need to get a export script that could easily be installed on a AD server. And that would export the AD personel data in formats like json/csv/xml to an emailadress.
2. The companies that has a cloud based Azure Active Directory (Office 365), I need to get a export script that could login and fetch the AD personel data.
My company would use this to update our customers personel list in our system.
If someone has a better idea then I'm listening.