Secure the Offline …
 
Notifications
Clear all

[Solved] Secure the Offline Address Book – Failed

3 Posts
2 Users
0 Reactions
11.3 K Views
0
Topic starter

Hi,

I have problems to run this powershell cmd. When i run this and offcourse have changed to my domain

$BaseOABContainer=?CN=Offline Address Lists,CN=Address Lists Container,CN=XXXXXXX,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=XXXXXX,DC=XX? its accepted.

But when I run this command

Get-ADPermission $BaseOABContainer -User ?NT Authority\Authenticated Users? | where {$_.extendedrights -match ?ms-exch-download-oab?} | Remove-ADPermission

I get error message:

The operation couldn’t be performed because object ‘\’ couldn’t be found on ‘win-jgh2tdo5cn5.unikweb.dk’.

? ? + CategoryInfo ? ? ? ? ?: InvalidData: (:) [Get-ADPermission], ManagementObjectNotFoundException

? ? + FullyQualifiedErrorId : [Server=WIN-JGH2TDO5CN5,RequestId=f88d2796-2191-4497-b325-6f52a2a469cd,TimeStamp=06-01-2

? ?017 19:08:40] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] CD10F44,Microsoft.Exchange.Management.Rec

? ipientTasks.GetADPermission

? ? + PSComputerName ? ? ? ?: win-jgh2tdo5cn5.unikweb.dk

Please can somebody help with this.?

Best regards

Zlatan

?

KMI Support 2017-01-06 13:17

You need to modify that command to match your environment. The domain is different and also where it says First Organization may be different depending on what you put in the installer when you first installed exchange in your domain

1 Answer
0
Topic starter

Hi Jacob,

uhh this is long time ago i had set my first orginazation name, can you please tell where can I find this info in exchange ??

regards

Zlatan

unik.web Topic starter 2017-01-06 13:29

Hi found it.?

Thanks for help now it works.?

I run this command and found a first organisation name.?get-OrganizationConfig | fl Identity

Regards

Zlatan

Share: