Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

missing-anchor-value Error using PowerShell MA (Soren Granfeldt)

$
0
0

Hi Everyone,

I'm triying  to do a simple sinchronization using PowerShel MA (Soren Granfeld) v5.0. I've already configured the MA, but when I do a Full Import the Sync Engine sent me: missing-anchor-value. I configured the anchor attribute based on the blog PowerShel MA (Soren Granfeld).

Scheema Script

$obj = New-Object -Type PSCustomObject
$obj | Add-Member -Type NoteProperty -Name "Anchor-Id|String" -Value 1
$obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "user"
$obj | Add-Member -Type NoteProperty -Name "AccountName|String" -Value "SG"
$obj | Add-Member -Type NoteProperty -Name "FirstName|String" -Value "Soren"
$obj | Add-Member -Type NoteProperty -Name "LastName|String" -Value "Granfeldt"
$obj | Add-Member -Type NoteProperty -Name "DisplayName|String" -Value "Soren Granfeldt"
$obj | Add-Member -Type NoteProperty -Name "Description|String" -Value "Standard User"
$obj

 Import Script

$obj = @{}
$Obj.Add("Id", "1")
$obj.Add("LastName","Cas")
$obj.Add("[DN]","2")
$obj.Add("AccountName","rodcas")
$obj.Add("FirstName","Rod")
$obj.Add("DisplayName","Rod Cas")
$obj.Add("Description","IT")
$obj

Anyone can help me please?

Thanks in advance,




Viewing all articles
Browse latest Browse all 4767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>