Skip to main content

AzDummy

A Python Typer-based CLI tool to generate fake data for Azure AD. AzDummy also uses Rich for some dope console output.

Installation

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.

Usage

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.

  • Windows:
    • C:\Users\<user>\AppData\Roaming\azdummy\settings.env
  • Linux/Mac OS:
    • ~/.azdummy/settings.env

Currently used variables:

  • AZD_LOCALE: (str) Shortcode for supported locales
  • AZD_TENANT_FQDN: (str) One of the domains in the tenant (Usually <domain>.onmicrosoft.com format)
  • AZD_NUM_USERS: (int) Number of users to generate
  • AZD_BLOCK_LOGIN: (bool) Block generated users from logging in
  • AZD_GROUP_NAMES: (list) List of groups to add users to

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:

  • CZECH = "cs"
  • DANISH = "da"
  • GERMAN = "de"
  • AUSTRIAN_GERMAN = "de-at"
  • SWISS_GERMAN = "de-ch"
  • GREEK = "el"
  • ENGLISH = "en"
  • AUSTRALIAN_ENGLISH = "en-au"
  • CANADIAN_ENGLISH = "en-ca"
  • BRITISH_ENGLISH = "en-gb"
  • SPANISH = "es"
  • MEXICAN_SPANISH = "es-mx"
  • ESTONIAN = "et"
  • FARSI = "fa"
  • FINNISH = "fi"
  • FRENCH = "fr"
  • HUNGARIAN = "hu"
  • ICELANDIC = "is"
  • ITALIAN = "it"
  • JAPANESE = "ja"
  • KAZAKH = "kk"
  • KOREAN = "ko"
  • DUTCH = "nl"
  • BELGIUM_DUTCH = "nl-be"
  • NORWEGIAN = "no"
  • POLISH = "pl"
  • PORTUGUESE = "pt"
  • BRAZILIAN_PORTUGUESE = "pt-br"
  • RUSSIAN = "ru"
  • SLOVAK = "sk"
  • SWEDISH = "sv"
  • TURKISH = "tr"
  • UKRAINIAN = "uk"
  • CHINESE = "zh"

Commands

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

What do I do with the output?

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.

Metadata

Release files for azdummy 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azdummy 1.1.2
File Size Uploaded
azdummy-1.1.2.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for azdummy 1.1.2
File Interpreter ABI Platform
azdummy-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 kB

Release files / azdummy-1.1.2.tar.gz

Download URL azdummy-1.1.2.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
08745d126bc109ce4f5d2765e2b51694a2c54e031b06dfd0e9cdf212b304d957
BLAKE2b-256 checksum
How to use checksums
9afac0bc9f2499de3948787c3cf58b819a10f20fac19ec5d2ce8984439580f60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Windows/10

Release files / azdummy-1.1.2-py3-none-any.whl

Download URL azdummy-1.1.2-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7912c325f1d72483220cbf81d0278cb7901ecfbd0d459109414687136f36d1db
BLAKE2b-256 checksum
How to use checksums
0d94c35d158e14f4acbce02d703016114c11d78688d249dfa28a25d478c78d8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Windows/10

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page