BulkCreateM365Users

1.2

The BulkCreateM365Users script is designed to automate the creation of multiple dummy users in a Microsoft 365 tenant. This can be particularly useful for testing, training, or demonstration purposes. The script leverages the Microsoft.Graph.Users module to interact with the Microsoft Graph API.

Key features of the script include:
- Generation of random first and las
The BulkCreateM365Users script is designed to automate the creation of multiple dummy users in a Microsoft 365 tenant. This can be particularly useful for testing, training, or demonstration purposes. The script leverages the Microsoft.Graph.Users module to interact with the Microsoft Graph API.

Key features of the script include:
- Generation of random first and last names for each user to ensure uniqueness.
- Assignment of a randomly generated password for each user.
- Customizable parameters to specify the number of users to be created and other user attributes.
- Logging capabilities to track the progress and outcome of the script execution.

The script requires appropriate permissions to create users in the Microsoft 365 tenant and interact with the Microsoft Graph API. The Microsoft.Graph.Users module will be installed automatically if it is not already present on the system.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name BulkCreateM365Users

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Paul van Boerdonk

Functions

New-DummyUser Get-RandomPassword Get-RandomName

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.2 (current version) 6 12/18/2024
1.1 5 12/18/2024
1.0 6 12/18/2024