SharePoint 2010 SP2 64 bit Farm
Windows 2012 R2 64 Bit
Windows 2003 Active Directory Domain
Trying to add another profile leader using the command below. I have added another profile leader successfully
But for some reason this account thinks it has a manager
PS C:\> $upaproxy = get-spserviceapplicationproxy 898a761d-8bf1-4bdd-bd7c-9ee19838906d
PS C:\> Add-SPProfileLeader -ProfileServiceApplicationProxy $upaProxy -Name "mydom\spfarm"
Are you sure you want to perform this action?
Performing operation "Add-SPProfileLeader" on Target "mydom\spfarm".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
Failed. User 'mydom\spfarm' has a manager.
I ran a powershell AD queury
PS C:> Get-ADUser -Filter * -Properties * | Select Name, Enabled, PasswordExpired, Manager, MemberOf | Export-Csv "c:\AllUsers.csv"
It also showed a blank Manager field.
At one point this account did have a manager assigned but I removed it from using the AD interface.