Scripting of users of Type "User in another Microsoft Azure AD directory"

Silver Contributor

Is there any plan to allow scripting of adding users to AAD when the type of user is "User in another Microsoft Azure AD directory"?

 

We use a second AAD (outside of our primary) for a particular application, and add users internally to this secondary AAD.  We use the "User in another Microsoft Azure AD directory" to leverage the same user id and password for accessing this application.

 

RIght now, using code, you can create users for the the other drop down options, but you cannot add a "User in another Microsoft Azure AD directory".  You MUST use the user interface to add the users.

 

2016-09-09 09_45_42-aad.png

4 Replies

Great question! We're looking into this and will try to get an answer for you.

Much appreciated, old post, but still a problem we are trying to find a non-manual solution for.

Sharing in case this helps, a few PowerShell commands to do B2B invites?

 

https://www.adamfowlerit.com/2017/03/azure-ad-b2b-powershell-invites/

This is great, @Adam Fowler ! I wonder if @Sarat Subramaniam and @Brjann Brekkan would like to chime in as well :)