Jump to content

Recommended Posts

Posted

We have a GAL Segmentation set up to split our students from staff.

 

the users within the staff GAL have been slowly vanishing over the past week without me doing anything.

 

i cant find any issue with the setup and haven't changed any settings from when it was working but the numbers are still reducing.

 

im expecting 292 users within the list as that's what $dn = (Get-DistributionGroup stafflist).distinguishedName is giving me as a count, but im only seeing 19.

 

this is what im running to pull up details

 

$UserCredential = Get-Credential
$pso = new-pssessionoption -operationtimeout 320000
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -sessionOption $pso -Authentication Basic -AllowRedirection
Import-PSSession $Session
$dn = (Get-DistributionGroup stafflist).distinguishedName
Write-Host "DistributionGroup:" $dn
$DistributionGroupMember = Get-DistributionGroupMember -Identity "stafflist"
$count = $DistributionGroupMember.count
Write-Host "DistributionGroupMember Found:" $count
Get-AddressList -Identity "stafflist.Mailboxes"
Get-AddressList -Identity "stafflist.Resources"
Get-GlobalAddressList -Identity "stafflist.Gal"
Get-OfflineAddressBook -Identity "stafflist.Oab"

 

everything appears fine

 

DistributionGroup: CN=stafflist,OU=YsgolEirias.onmicrosoft.com,OU=Microsoft Exchange Hosted Organization
s,DC=EURPR07A003,DC=prod,DC=outlook,DC=com
DistributionGroupMember Found: 292


RunspaceId                   : 288fd62a-26f7-4db4-b4c8-ed27e2d23ee2
Container                    : \Address Lists Container\All Address Lists
Path                         : \Address Lists Container\All Address 
                              Lists\stafflist.Mailboxes
DisplayName                  : Staff Mailboxes List
Name                         : stafflist.Mailboxes
RecipientFilter              : ((RecipientType -eq 'UserMailbox') -and 
                              (MemberOfGroup -eq 'CN=stafflist,OU=YsgolEirias.onmicr
                              osoft.com,OU=Microsoft Exchange Hosted Organizations,D
                              C=EURPR07A003,DC=prod,DC=outlook,DC=com'))
LdapRecipientFilter          : (&(!(!(objectClass=user)))(objectCategory=person)(mail
                              Nickname=*)(msExchHomeServerName=*)(memberOf=CN=staffl
                              ist,OU=YsgolEirias.onmicrosoft.com,OU=Microsoft 
                              Exchange Hosted Organizations,DC=EURPR07A003,DC=prod,D
                              C=outlook,DC=com))
LastUpdatedRecipientFilter   : 
RecipientFilterApplied       : False
IncludedRecipients           : 
ConditionalDepartment        : {}
ConditionalCompany           : {}
ConditionalStateOrProvince   : {}
ConditionalCustomAttribute1  : {}
ConditionalCustomAttribute2  : {}
ConditionalCustomAttribute3  : {}
ConditionalCustomAttribute4  : {}
ConditionalCustomAttribute5  : {}
ConditionalCustomAttribute6  : {}
ConditionalCustomAttribute7  : {}
ConditionalCustomAttribute8  : {}
ConditionalCustomAttribute9  : {}
ConditionalCustomAttribute10 : {}
ConditionalCustomAttribute11 : {}
ConditionalCustomAttribute12 : {}
ConditionalCustomAttribute13 : {}
ConditionalCustomAttribute14 : {}
ConditionalCustomAttribute15 : {}
RecipientContainer           : 
RecipientFilterType          : Custom
Identity                     : \stafflist.Mailboxes
IsValid                      : True
ExchangeVersion              : 0.1 (8.0.535.0)
DistinguishedName            : CN=stafflist.Mailboxes,CN=All Address 
                              Lists,CN=Address Lists Container,CN=Configuration,CN=Y
                              sgolEirias.onmicrosoft.com,CN=ConfigurationUnits,DC=EU
                              RPR07A003,DC=prod,DC=outlook,DC=com
Guid                         : dc22b41e-5ff2-488b-a0e8-e2b3e47453e3
ObjectCategory               : EURPR07A003.prod.outlook.com/Configuration/Schema/Addr
                              ess-Book-Container
ObjectClass                  : {top, addressBookContainer}
WhenChanged                  : 28/06/2015 15:01:16
WhenCreated                  : 28/06/2015 15:00:59
WhenChangedUTC               : 28/06/2015 14:01:16
WhenCreatedUTC               : 28/06/2015 14:00:59
OrganizationId               : EURPR07A003.prod.outlook.com/Microsoft Exchange 
                              Hosted Organizations/YsgolEirias.onmicrosoft.com - EUR
                              PR07A003.prod.outlook.com/ConfigurationUnits/YsgolEiri
                              as.onmicrosoft.com/Configuration
Id                           : \stafflist.Mailboxes
OriginatingServer            : DB3PR07A003DC05.EURPR07A003.prod.outlook.com
ObjectState                  : Unchanged




RunspaceId                   : 288fd62a-26f7-4db4-b4c8-ed27e2d23ee2
Container                    : \Address Lists Container\All Address Lists
Path                         : \Address Lists Container\All Address 
                              Lists\stafflist.Resources
DisplayName                  : stafflist.Resources
Name                         : stafflist.Resources
RecipientFilter              : ((RecipientDisplayType -eq 'ConferenceRoomMailbox') 
                              -and (MemberOfGroup -eq 'CN=stafflist,OU=YsgolEirias.o
                              nmicrosoft.com,OU=Microsoft Exchange Hosted Organizati
                              ons,DC=EURPR07A003,DC=prod,DC=outlook,DC=com'))
LdapRecipientFilter          : (&(msExchRecipientDisplayType=7)(memberOf=CN=stafflist
                              ,OU=YsgolEirias.onmicrosoft.com,OU=Microsoft Exchange 
                              Hosted Organizations,DC=EURPR07A003,DC=prod,DC=outlook
                              ,DC=com))
LastUpdatedRecipientFilter   : 
RecipientFilterApplied       : False
IncludedRecipients           : 
ConditionalDepartment        : {}
ConditionalCompany           : {}
ConditionalStateOrProvince   : {}
ConditionalCustomAttribute1  : {}
ConditionalCustomAttribute2  : {}
ConditionalCustomAttribute3  : {}
ConditionalCustomAttribute4  : {}
ConditionalCustomAttribute5  : {}
ConditionalCustomAttribute6  : {}
ConditionalCustomAttribute7  : {}
ConditionalCustomAttribute8  : {}
ConditionalCustomAttribute9  : {}
ConditionalCustomAttribute10 : {}
ConditionalCustomAttribute11 : {}
ConditionalCustomAttribute12 : {}
ConditionalCustomAttribute13 : {}
ConditionalCustomAttribute14 : {}
ConditionalCustomAttribute15 : {}
RecipientContainer           : 
RecipientFilterType          : Custom
Identity                     : \stafflist.Resources
IsValid                      : True
ExchangeVersion              : 0.1 (8.0.535.0)
DistinguishedName            : CN=stafflist.Resources,CN=All Address 
                              Lists,CN=Address Lists Container,CN=Configuration,CN=Y
                              sgolEirias.onmicrosoft.com,CN=ConfigurationUnits,DC=EU
                              RPR07A003,DC=prod,DC=outlook,DC=com
Guid                         : cc6d514f-af40-423d-a932-1d2aea9ec9df
ObjectCategory               : EURPR07A003.prod.outlook.com/Configuration/Schema/Addr
                              ess-Book-Container
ObjectClass                  : {top, addressBookContainer}
WhenChanged                  : 28/06/2015 15:00:34
WhenCreated                  : 28/06/2015 15:00:17
WhenChangedUTC               : 28/06/2015 14:00:34
WhenCreatedUTC               : 28/06/2015 14:00:17
OrganizationId               : EURPR07A003.prod.outlook.com/Microsoft Exchange 
                              Hosted Organizations/YsgolEirias.onmicrosoft.com - EUR
                              PR07A003.prod.outlook.com/ConfigurationUnits/YsgolEiri
                              as.onmicrosoft.com/Configuration
Id                           : \stafflist.Resources
OriginatingServer            : DB3PR07A003DC05.EURPR07A003.prod.outlook.com
ObjectState                  : Unchanged




RunspaceId                   : 288fd62a-26f7-4db4-b4c8-ed27e2d23ee2
IsDefaultGlobalAddressList   : False
Name                         : stafflist.Gal
RecipientFilter              : MemberOfGroup -eq 'CN=stafflist,OU=YsgolEirias.onmicro
                              soft.com,OU=Microsoft Exchange Hosted Organizations,DC
                              =EURPR07A003,DC=prod,DC=outlook,DC=com'
LdapRecipientFilter          : (memberOf=CN=stafflist,OU=YsgolEirias.onmicrosoft.com,
                              OU=Microsoft Exchange Hosted Organizations,DC=EURPR07A
                              003,DC=prod,DC=outlook,DC=com)
LastUpdatedRecipientFilter   : 
RecipientFilterApplied       : False
IncludedRecipients           : 
ConditionalDepartment        : {}
ConditionalCompany           : {}
ConditionalStateOrProvince   : {}
ConditionalCustomAttribute1  : {}
ConditionalCustomAttribute2  : {}
ConditionalCustomAttribute3  : {}
ConditionalCustomAttribute4  : {}
ConditionalCustomAttribute5  : {}
ConditionalCustomAttribute6  : {}
ConditionalCustomAttribute7  : {}
ConditionalCustomAttribute8  : {}
ConditionalCustomAttribute9  : {}
ConditionalCustomAttribute10 : {}
ConditionalCustomAttribute11 : {}
ConditionalCustomAttribute12 : {}
ConditionalCustomAttribute13 : {}
ConditionalCustomAttribute14 : {}
ConditionalCustomAttribute15 : {}
RecipientContainer           : 
RecipientFilterType          : Custom
Identity                     : \stafflist.Gal
IsValid                      : True
ExchangeVersion              : 0.1 (8.0.535.0)
DistinguishedName            : CN=stafflist.Gal,CN=All Global Address 
                              Lists,CN=Address Lists Container,CN=Configuration,CN=Y
                              sgolEirias.onmicrosoft.com,CN=ConfigurationUnits,DC=EU
                              RPR07A003,DC=prod,DC=outlook,DC=com
Guid                         : c14b7207-f8a5-4d22-a55e-7c6363e83468
ObjectCategory               : EURPR07A003.prod.outlook.com/Configuration/Schema/Addr
                              ess-Book-Container
ObjectClass                  : {top, addressBookContainer}
WhenChanged                  : 28/06/2015 15:02:55
WhenCreated                  : 28/06/2015 15:02:47
WhenChangedUTC               : 28/06/2015 14:02:55
WhenCreatedUTC               : 28/06/2015 14:02:47
OrganizationId               : EURPR07A003.prod.outlook.com/Microsoft Exchange 
                              Hosted Organizations/YsgolEirias.onmicrosoft.com - EUR
                              PR07A003.prod.outlook.com/ConfigurationUnits/YsgolEiri
                              as.onmicrosoft.com/Configuration
Id                           : \stafflist.Gal
OriginatingServer            : DB3PR07A003DC05.EURPR07A003.prod.outlook.com
ObjectState                  : Unchanged




RunspaceId                            : 288fd62a-26f7-4db4-b4c8-ed27e2d23ee2
Server                                : 
GeneratingMailbox                     : 
AddressLists                          : {\stafflist.Gal}
Versions                              : {Version4}
IsDefault                             : False
PublicFolderDatabase                  : 
PublicFolderDistributionEnabled       : False
GlobalWebDistributionEnabled          : True
WebDistributionEnabled                : True
ShadowMailboxDistributionEnabled      : False
UseE14SortOrder                       : False
UseE14SortOrderOrdinal                : False
UseOrdinalSortedMultivaluedProperties : False
LastTouchedTime                       : 12/09/2016 10:36:42
LastRequestedTime                     : 07/09/2016 05:06:33
LastFailedTime                        : 
LastNumberOfRecords                   : 19
HttpHomeMdbLastProcessedBucket        : 305
LastGeneratingData                    : MailboxGuid: 
                                       24547483-7cba-4a94-898e-c63af04bafce; 
                                       DatabaseGuid: 
                                       94db5c81-b5a2-4022-82c1-a5eeaaad584b; 
                                       Server: 
                                       VI1PR0701MB2717.eurprd07.prod.outlook.com
MaxBinaryPropertySize                 : 32768
MaxMultivaluedBinaryPropertySize      : 65536
MaxStringPropertySize                 : 3400
MaxMultivaluedStringPropertySize      : 65536
ConfiguredAttributes                  : {OfficeLocation, ANR, ProxyAddresses, ANR, 
                                       PhoneticGivenName, ANR, GivenName, ANR...}
DiffRetentionPeriod                   : 30
Schedule                              : {Sun.05:00-Sun.05:15, Mon.05:00-Mon.05:15, 
                                       Tue.05:00-Tue.05:15, Wed.05:00-Wed.05:15...}
VirtualDirectories                    : {}
AdminDisplayName                      : 
Identity                              : \stafflist.Oab
IsValid                               : True
ExchangeVersion                       : 0.20 (15.0.0.0)
Name                                  : stafflist.Oab
DistinguishedName                     : CN=stafflist.Oab,CN=Offline Address 
                                       Lists,CN=Address Lists Container,CN=Configura
                                       tion,CN=YsgolEirias.onmicrosoft.com,CN=Config
                                       urationUnits,DC=EURPR07A003,DC=prod,DC=outloo
                                       k,DC=com
Guid                                  : 11c5b2d6-afac-4f77-ad77-9539c37420b2
ObjectCategory                        : EURPR07A003.prod.outlook.com/Configuration/Sc
                                       hema/ms-Exch-OAB
ObjectClass                           : {top, msExchOAB}
WhenChanged                           : 12/09/2016 10:36:46
WhenCreated                           : 28/06/2015 15:03:11
WhenChangedUTC                        : 12/09/2016 09:36:46
WhenCreatedUTC                        : 28/06/2015 14:03:11
OrganizationId                        : EURPR07A003.prod.outlook.com/Microsoft 
                                       Exchange Hosted 
                                       Organizations/YsgolEirias.onmicrosoft.com - E
                                       URPR07A003.prod.outlook.com/ConfigurationUnit
                                       s/YsgolEirias.onmicrosoft.com/Configuration
Id                                    : \stafflist.Oab
OriginatingServer                     : DB3PR07A003DC05.EURPR07A003.prod.outlook.com
ObjectState                           : Unchanged

 

Thank You

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...