How to add multi domain user emails to Azure AD

We have three differnt websites and we want to use Azure AD for the purpose of single sign on. My question is how do I add users to Azure AD (via API) who could have differnt emails such as foo@gmail.com, bar@yahoo.com, baz@outlook.com, etc

When I try to add users with these emails to Azure via API, I get the error:

Property userPrincipalName is invalid.

If however I add users with azure tenant name (like reinhold@mytenant.onmicrosoft.com), they are added fine.

I searched in google but to no avail.

So is there any way to add users having gmail/yahoo/outlook/other email addresses to Azure AD using API ?

Thanks


September 2nd, 2015 8:31am

AFAIK, this feature is not supported for AzureAD via Poweshell. This was discussed 9 months ago on another forum. We still wait for the support.

http://stackoverflow.com/questions/27553569/add-user-to-azure-ad-from-another-azure-ad-via-powershell

You can vote this request via the Azure AD user voice page, this was requested at that time

http://feedback.azure.com/forums/169401-azure-active-directory/suggestions/6920135-enable-management-of-secondary-directories-using

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 9:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics