How to convert PublicFolder object to contact? extension-unexpected-attribute-val ue error
I try to create complete solution for a GAL SYNC between forest with 2003 Exch and forest with 2010.
With standart GAL im successfuly synced users and distribution lists. Now i have mail-enabled public folders in 2003 forest and want sync it to contacts in 2010.
My steps to achieve this:
Im created new GAL SYNC MA and point it to OU with PublicFolders objects. On step Select Object Types im add PublicFolder object.
Configure object and projection rules: for a public folder object created
TargetAdresses; Direct; Any; TargetAdresses
LegacyExchangeDN; Direct; Any; LegacyExchangeDN
And create a projection rule with type Declared and Metaverse object Type: My_export_ma_name
On atribute flow im created for Object Type: PublicFolder to Metaverse Attribute: My_export_ma_name following rules:
CN direct import CN
Mail direct import Mail
MailNickname direct import MailNickname
msExchHideFromAddressList direct import msExchHideFromAddressList
displayName direct import displayName
So, when i try to run this MA with Full Import run profile ive got this error for all PublicFolder object:
error: extension-unexpected-attribute-value
Microsoft.MetadirectoryServices.UnexpectedDataException: Unhandled object type in ShouldProjectToMV called with entry CS 2003MA publicFolder CN=PFName,CN=Microsoft Exchange System Objects,DC=2003,DC=local
in Microsoft.MetadirectoryServices.GALSync.MASynchronizer.ShouldProjectToMV(CSEntry csentry, String& MVObjectClass)
in Microsoft.MetadirectoryServices.Impl.ScriptHost.InvokeProjectWorker(ProjectArguments pArgs)
in Microsoft.MetadirectoryServices.Impl.ScriptHost.InvokeMA_Project(_OCTET octCSPreImage, _OCTET octCSDelta, UInt16** ppszMVClass)
What should i do else? May be im step on a wrong way and my goals may be completed much easy?
Thanks for reading and sorry for my bad english.
May 27th, 2011 10:43am
This may well be possible, but you're not going to be able to do it with the GalSync.dll - you will have to write your own dll.http://www.wapshere.com/missmiis
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2011 2:54pm
As Carol points out, it's perfectly possible, however the GAL MA doesnt do this out of the box. You can modify its code (which is in the program files\... folder on the FIM server).
You'll have to modify the piece of code which determines to which "object-type" the public folder object has to be mapped. For instance, a user is mapped to a person, a contact is mapped to a contact_MA_NAME object.
The GAL MA code is not that hard to read/modify. Just try understanding the various aspects of a regular MA: disconnector filters, rules extensions, projection, joining, ... and you should be fine...
http://setspn.blogspot.com
May 29th, 2011 5:26am
As Carol points out, it's perfectly possible, however the GAL MA doesnt do this out of the box. You can modify its code (which is in the program files\... folder on the FIM server).
You'll have to modify the piece of code which determines to which "object-type" the public folder object has to be mapped. For instance, a user is mapped to a person, a contact is mapped to a contact_MA_NAME object.
The GAL MA code is not that hard to read/modify. Just try understanding the various aspects of a regular MA: disconnector filters, rules extensions, projection, joining, ... and you should be fine...
http://setspn.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
May 29th, 2011 5:26am
may be i can use for this task regular AD managment agent?
June 1st, 2011 2:14am
You can absolutely use the regular AD MA. Have a look at this article I wrote and don't worry that it says ILM 2007 - the code is the same for FIM:
http://social.technet.microsoft.com/wiki/contents/articles/managing-exchange-2000-2003-2007-with-ilm-2007.aspx
While I don't specifically go into PFs a lot of the methods will be the same.http://www.wapshere.com/missmiis
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2011 3:32am