Error while creatin...
 
Notifications
Clear all

Error while creating Hosted Organization

15 Posts
2 Users
0 Reactions
3,768 Views
Posts: 14
Topic starter
(@benallenpro)
Active Member
Joined: 7 years ago

Hi Marko,

I have edited the values and run the script on Exchange management shell but getting an below error:

OU:
Get-ADuser : An empty SearchBase is only supported while connected to a GlobalCatalog.
At C:PFFix.ps1:28 char:23
+ $OUMailboxs = Get-ADuser -Filter * -SearchBase "$SubOUDistName"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-ADUser], ArgumentException
+ FullyQualifiedErrorId : ActiveDirectoryCmdlet:System.ArgumentException,Microsoft.ActiveDirectory.Management.Comm
ands.GetADUser

Reply
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

The OU is the top level OU where all your customers are under, basically the same you filled in at the Hosted Organizations settings.

In the example all our customer OU's are below mail2012 ou.

the script will fetch OU name and checks if PF is created with that org ID, if it is not it creates it, if it's present it will just give an already exist error.

it will then check all mailboxes below that OU and make sure the Root PF (with same name as org ID) is assigned as default (so it doens't pick a random one from another organization).

Reply
Posts: 14
Topic starter
(@benallenpro)
Active Member
Joined: 7 years ago

Hi Marko,

Thanks for providing the script and all other details. The script has created primary public folder mailbox and all other public folder and public folder mailboxes. However, I am still getting the same issue.

Reply
Posts: 14
Topic starter
(@benallenpro)
Active Member
Joined: 7 years ago

Hi Marco,

I have run the script and primary hierarchy created by script. The first organization public folder mailbox has been setup as primary hierarchy. Do I have to delete and create the primary hierarchy again manually and then need to run the script?

Reply
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

I would normally never make a hosted org PF the primary (it's how it gets accedently deleted in the future).

It's why i mentioned to first put the primary hierarchy in place before running this script.

However in either case that should resolve your public folder issue.

If you still have issues creating new organizations you will need to check further in your event viewer for more details on what it's trying and where it errors.

Reply
Page 2 / 3
Share: