A Python Typer-based CLI tool to generate fake data for Azure AD. AzDummy also uses Rich for some dope console output.
A Python Typer-based CLI tool to generate fake data for Azure AD. AzDummy also uses Rich for some dope console output.
The recommended method of installation is with pipx.
pipx install azdummy
However, you can install the normal way from PyPi with python3 -m pip install azdummy
.
On first run, user will be prompted to create a config file. Location of this config file depends on OS. Note: There are some environment variables included that are currently not used.
C:\Users\<user>\AppData\Roaming\azdummy\settings.env
~/.azdummy/settings.env
Currently used variables:
<domain>.onmicrosoft.com
format)NOTE: Due to restrictions on the userPrincipalName field, all names are generated in English. However, AzDummy supports other locale-specific data generation (such as addresses).
Supported Locales:
Commands are available here. You can generally use --help/-h
for any command or subcommand for more information. With default settings, the following command will generate 500 users for azdummy.onmicrosoft.com
(non-existant tenant).
azdummy gen users
The default output provides two files for user: output_create.csv
and output_create.csv
. These files can be used with the Bulk Create and Bulk Delete options in Azure Portal in the Azure AD Users menu. Additionally, one file is created for each defined group with the members of those groups. These files can be used with the Import Members and Remove Members options in Azure Portal in the Azure AD Group menu.