To create Azure AD users and groups, you can use the Azure Active Directory portal or the Azure AD PowerShell module.
In the Azure AD portal, you can create users by navigating to the “Users” blade and selecting “New user”. You can also create groups by navigating to the “Groups” blade and selecting “New group”.
To create users and groups using PowerShell, you can use the Azure AD PowerShell module. First, you need to connect to your Azure AD tenant using the Connect-AzureAD cmdlet. Once connected, you can use the New-AzureADUser and New-AzureADGroup cmdlets to create users and groups respectively.
You can also automate the process by writing scripts using Azure AD Graph API, and Microsoft Graph API or using Azure AD Management Libraries for .NET, Python, Java, JavaScript, etc.
Please keep in mind that you will need to have the appropriate permissions to create users and groups in Azure AD.