Is it possible to add users from our primary Azure AD into a secondary Azure AD via PowerShell. This would normally be done through the UI by (1)
going to New User (2) selecting "User in another Microsoft Azure AD Directory" (3) entering that users email address.
My attempts to do this using just New-MsolUser and providing the email address as the UserPrincipalName give the following error:
"New-MsolUser : Unable to create this user because the user principal name provided is not on a verified domain."
The domain is tied to our primary corporate Azure AD.
My attempts to do this using just New-MsolUser and providing the email address as the UserPrincipalName give the following error:
"New-MsolUser : Unable to create this user because the user principal name provided is not on a verified domain."
The domain is tied to our primary corporate Azure AD.