Azure and GCP account creation mechanism

Figured this group might be faster/easier than google so asking here before I’ve even looked.

We want to design a mechanism in GCP and Azure that would allow us to create several hundred throw away test accounts under an organization. These accounts would need to be spun up automatically, then destroyed automatically after a few days. We already have something like this for AWS but haven’t started that with Azure or GCP. Anyone have any thoughts on where to begin the hunt?