Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Add users from corporate Primary Azure AD to secondary Azure AD via PowerShell?

$
0
0
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.

Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>