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 (289k 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
1 answer

Is it possible to create a business unit and have it auto populate with group owners in a specific OU. I've tried a few scripts to get propertie adm-managedbylist but none have worked so far.

asked 4 days ago by C27 (20 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)
3,548 questions
3,238 answers
8,232 comments
547,813 users