Azure- Adding user to group

We have a azure lab portal for our users in which new azure user gets created whenever a user logs into the lab portal. We are able to create new users using : echo $ssh->exec(‘az ad user create –display-name orgname –password password –user-principal-name ‘.$_REQUEST[‘id’].’@parentuserid.com –force-change-password-next-login false’); But we want to auto assign these users to…