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

Brent Ellis
Valued 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.

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

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies