0 votes

Hi

Is it possible to create an Azure OU programatically using the Adaxes PowerShell module?

Thanks

Matt

by (2.0k points)
edited by

1 Answer

0 votes
by (272k points)
selected by
Best answer

Hello Matt,

Yes, it can be done the very same way you do it for OUs in on-premises AD domains managed by Adaxes. For examples, have a look at the following SDK article: https://adaxes.com/sdk/SampleScripts.CreatingOrganizationalUnits.

0

Thank you, I've just found you need to specify the Azure domain for the Server switch, i.e.

New-AdmOrganizationalUnit -Path <path to OU parent> -Name <name of OU> -Server <youdomain.onmicrosoft.com>

Thanks as always for your quick help.

Related questions

0 votes
1 answer

Hi! When browsing an OU in the webinterface, there are 3 task available under Create New: User, Contact and Group. Is it possible to remove these? We only want users to create objects from the Action pane on the home screen.

asked Feb 27, 2013 by kjesoo (960 points)
0 votes
1 answer

Hello, I am trying to figure out how to create a scheduled task via PowerShell. I've been referencing the SDK, mostly pulling script examples straight out of it. After following the steps on ... ==================&gt; # Save the Scheduled Task $task.SetInfo()

asked Feb 23, 2015 by DFassett (710 points)
0 votes
0 answers

I am trying to find a way to create Groups based off an OU and a list of options (check boxes) within the portal For example: Select the Target OU to add groups ... 3 - Remote Administrators Option 3 - Remote Developers Option 4 - Readers Option 4 - Writers

asked Sep 11, 2020 by dknapp (100 points)
0 votes
1 answer

I'm trying to schedule a report to look in a few specific OUs. Currently "Look in" location only allows for single instance or multiple drop downs. How do I schedule multiple OU locations without creating multiple reports?

asked Jul 2, 2020 by Al (20 points)
0 votes
1 answer

I'm trying to create a new command that can apply to User objects across multiple domains that are in OUs with the same 'Name' i.e. an OU called Directors that occurs in ... t seem to make it work with just contains 'OU Name' i.e. (distinguishedname=OU Name)

asked Jan 21, 2020 by richarddewis (260 points)
3,355 questions
3,054 answers
7,799 comments
545,154 users