Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.14 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.14 KB

AADInternals python

Reimplementation of part of the AAdinternals (https://github.com/Gerenios/AADInternals) project.

This project focuses on synchronizing users, groups, and password hashes with Microsoft Entra ID.

This project uses undocumented Microsoft APIs. Microsoft may change or remove them at any time.

Install Notes

git clone https://github.com/tranquilit/AADInternals_python
cd AADInternals_python
git submodule update --progress --init -- "python_wcfbin"

Install dependencies

apt-get install -y python3-passlib python3-xmltodict python3-requests python3-msal python3-cryptography python3-jwt

For Debian 12 or older Python packages, use a virtual environment

pip3 install -r requirements.txt

Use the CLI

Example:

python3 main.py -help
python3 main.py --domain mydomain.com set_azureadobject  -help
python3 main.py --domain mydomain.com set_azureadobject --SourceAnchor=test00 --userPrincipalName=test00@mydomain.com
python3 main.py --domain mydomain.com set_userpassword --sourceanchor=test00 --password password
python3 main.py --domain mydomain.com get_syncconfiguration