Fully deleting an U...
 
Notifications
Clear all

Fully deleting an User but still in active directory. Is this the desider behaviour?

8 Posts
2 Users
0 Reactions
2,687 Views
Posts: 28
Topic starter
(@davide)
Eminent Member
Joined: 9 years ago

I fully deleted an user (info00000) but the user still show in Active Directory. Is this the desider behaviour?

To fully delete the user:

  1. From SolidCP I deleted the mailbox
  2. From SolidCP I deleted the organization's user
  3. From SolidCP I deleted the user from "DeletesUsers" menu

The user still in Active Directory:

[PS] C:Windowssystem32>get-user

Name RecipientType
---- -------------
Administrator UserMailbox
Guest User
krbtgt User
Exchange Online-ApplicationAccount User
DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334B... UserMailbox
testdavidemiccone UserMailbox
SCPServer User
postmaster UserMailbox
mariorossi00000 UserMailbox
giacomoleopardi00000 UserMailbox
davide00000 UserMailbox
giuseppeverdi00000 UserMailbox
micheleplacido00000 UserMailbox
info00000 User <<<<<<--------------- Still here

See also the attached screen shoot (Account is disabled but still here)

User full details:

[PS] C:Windowssystem32>get-user info00000 | fl

RunspaceId : 4f4c08a2-aed7-4205-b14c-f4c9292145eb
IsSecurityPrincipal : True
SamAccountName : info00000
Sid : S-1-5-21-3542661409-2661628594-2217070226-1157
SidHistory : {}
UserPrincipalName : info@davidemiccone.com
ResetPasswordOnNextLogon : False
CertificateSubject : {}
RemotePowerShellEnabled : True
WindowsLiveID :
MicrosoftOnlineServicesID :
NetID :
ConsumerNetID :
UserAccountControl : AccountDisabled, PasswordNotRequired, NormalAccount
OrganizationalUnit : posta365.it/60mailhosting/davidemiccone.com
IsLinked : False
LinkedMasterAccount :
ExternalDirectoryObjectId :
SKUAssigned :
IsSoftDeletedByRemove : False
IsSoftDeletedByDisable : False
WhenSoftDeleted :
PreviousRecipientTypeDetails : UserMailbox
UpgradeRequest : None
UpgradeStatus : None
UpgradeDetails :
UpgradeMessage :
UpgradeStage :
UpgradeStageTimeStamp :
MailboxProvisioningConstraint :
MailboxProvisioningPreferences : {}
InPlaceHoldsRaw : {}
MailboxRelease : None
ArchiveRelease : None
AccountDisabled : False
AuthenticationPolicy :
StsRefreshTokensValidFrom :
MailboxLocations : {}
AdministrativeUnits : {}
AssistantName :
City :
Company :
CountryOrRegion :
Department :
DirectReports : {}
DisplayName : Info
Fax :
FirstName : Info
GeoCoordinates :
HomePhone :
Initials :
IsDirSynced : False
LastName :
Manager :
MobilePhone :
Notes :
Office :
OtherFax : {}
OtherHomePhone : {}
OtherTelephone : {}
Pager :
Phone :
PhoneticDisplayName :
PostalCode :
PostOfficeBox : {}
RecipientType : User
RecipientTypeDetails : DisabledUser
SimpleDisplayName :
StateOrProvince :
StreetAddress :
Title :
UMDialPlan :
UMDtmfMap : {emailAddress:4636, lastNameFirstName:4636, firstNameLastName:4636}
AllowUMCallsFromNonUsers : SearchEnabled
WebPage :
TelephoneAssistant :
WindowsEmailAddress :
UMCallingLineIds : {}
SeniorityIndex :
VoiceMailSettings : {}
Identity : posta365.it/60mailhosting/davidemiccone.com/info00000
IsValid : True
ExchangeVersion : 0.0 (6.5.6500.0)
Name : info00000
DistinguishedName : CN=info00000,OU=davidemiccone.com,OU=60mailhosting,DC=posta365,DC=it
Guid : ac085445-6a04-46ef-8b11-3ce4ff151fe9
ObjectCategory : posta365.it/Configuration/Schema/Person
ObjectClass : {top, person, organizationalPerson, user}
WhenChanged : 23/08/2016 09:00:55
WhenCreated : 22/08/2016 12:48:55
WhenChangedUTC : 23/08/2016 07:00:55
WhenCreatedUTC : 22/08/2016 10:48:55
OrganizationId :
Id : posta365.it/60mailhosting/davidemiccone.com/info00000
OriginatingServer : dc.posta365.it
ObjectState : Changed

7 Replies
Posts: 1967
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

It should delete the user fully once deleted from deleted user.

however if it's just to disabled i would check a few things:

  • Do you have litigation hold enabled in SolidCP? (this generally prevents deletion)
  • What member groups does your SolidCP Server has? (in general if you have issues deleting you can up the privileges with adding Enterprise Admin to fix perm issues)

If all that is checked, i would check out the Event log for further information (warnings/ errors)

Regards,

Marco

Reply
Posts: 28
Topic starter
(@davide)
Eminent Member
Joined: 9 years ago

Litigation Hold is not enabled on the plan

SCPServer user is already member of Enterprise Admin (however account creation works)

I tried to delete again a User (directly deleting the User so to delete both mailbox and user), then deleted “DeletedUser” (sorry for the pun).

Mailbox is deleted but Active Directory user is not, not even “disabled”

Really the log contain an error:

[8/23/2016 2:14:04 PM] WARNING: Exchange Invoke error: The operation couldn’t be performed because object ‘giacomoleopardi@davidemiccone.com’ couldn’t be found on ‘dc.posta365.it’.

But as you can see from the attached screen shoot the user is correctly defined (I created it using SolidCP!)

P.S.: SolidCP version 1.0.3

Reply
1 Reply
Admin
(@m-tiggelaar)
Joined: 9 years ago

Noble Member
Posts: 1967

hmm,
could you do a test with disabeling deleted users from the hosting plan , and see it it works then ? (new test org , new mailbox, new delete user)

as i wonder if the deleted user script is incompatible with disabled mailbox/users

Reply
Posts: 28
Topic starter
(@davide)
Eminent Member
Joined: 9 years ago

deleted

Reply
Posts: 28
Topic starter
(@davide)
Eminent Member
Joined: 9 years ago

Seems that forum interface has some problem, sorry for the garbage in my reply.

Reply
Page 1 / 2
Share: