Add some BAESL to your M365 Sandbox!

 Hey there! Hope that this post finds you doing well this New Year. You may be asking yourself: "what's the news on the cyber range you're building"? I wanted to take a short break from that and introduce a side-quest I've been working on stemming from an issue I ran into when I first created my range:

How do I create realistic users without having to add each one?

You could start adding each one manually, and spend all day filling in each detail. Or, you can be like me and spend two months trying to automate the process! The goal here was to remove the typical constraints that bulk user creation can have and allow for realism in the sandbox, not just filler. I wanted a script that can fill out the details that the admin wants, and apply it against either Active Directory or Entra. Thus, BAESL was born!

BAESL (Bulk AD Entra Sandbox Loader) is a PowerShell suite of tools that provides administrators and developers a way to inject realistic user objects into their environment. With BAESL, you can create a boat load of users with actual properties such as:

  • Department

  • Position - Mapped to the department

  • Manager - Mapped to the department

  • Office

  • Phone Number - Mapped to the office location based on area code

  • UPN

  • RBAC Roles - Mapped to the role

BAESL is officially live on GitHub and ready for you to try. Whether you're building a cyber range, testing identity workflows, or just want a smarter way to bulk-load users — this tool’s for you.

Clone the repository here: BAESL GitHub Repository


Comments

Popular posts from this blog

Using Power Automate to Update Contact Information

Using Custom Connectors and Microsoft Graph API's to Manage Licenses in Power Automate - Part One

Using Custom Connectors and Microsoft Graph API's to Manage Licenses in Power Automate - Part Two