FIM2010-Exchange2010 Provisioning Error
I get the below error provioning Exchange 2010 mail enabled AD users thru provisioning code. Any solutions to this problem.
Log Name: Application
Source: FIMSynchronizationService
Date: 7/5/2010 9:34:47 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: FIM10.internal.hg.com
Description:
The description for Event ID 0 from source FIMSynchronizationService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local
computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
There is an error in Exch2010Extension AfterExportEntryToCd() function when exporting an object with DN CN=x3000,OU=FIMUsers,DC=internal,DC=hg,DC=com.
Type: Microsoft.MetadirectoryServices.ExtensionException
Message:
**** ERROR ****
ExchangeGuid is mandatory on UserMailbox. Property Name: ExchangeGuid
**** END ERROR ****
**** ERROR ****
Database is mandatory on UserMailbox. Property Name: Database
**** END ERROR ****
**** ERROR ****
ExchangeGuid is mandatory on UserMailbox. Property Name: ExchangeGuid
**** END ERROR ****
**** ERROR ****
Database is mandatory on UserMailbox. Property Name: Database
**** END ERROR ****
Stack Trace: at Exch2010Extension.Exch2010ExtensionClass.AfterExportEntryToCd(Byte[] origAnchor, String origDN, String origDeltaEntryXml, Byte[] newAnchor, String newDN, String failedDeltaEntryXml, String errorMessage)
the message resource is present but the message is not found in the string/message table
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="FIMSynchronizationService" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-07-05T16:34:47.000000000Z" />
<EventRecordID>2459</EventRecordID>
<Channel>Application</Channel>
<Computer>FIM10.internal.hg.com</Computer>
<Security />
</System>
<EventData>
<Data>
There is an error in Exch2010Extension AfterExportEntryToCd() function when exporting an object with DN CN=x3000,OU=FIMUsers,DC=internal,DC=hg,DC=com.
Type: Microsoft.MetadirectoryServices.ExtensionException
Message:
**** ERROR ****
ExchangeGuid is mandatory on UserMailbox. Property Name: ExchangeGuid
**** END ERROR ****
**** ERROR ****
Database is mandatory on UserMailbox. Property Name: Database
**** END ERROR ****
**** ERROR ****
ExchangeGuid is mandatory on UserMailbox. Property Name: ExchangeGuid
**** END ERROR ****
**** ERROR ****
Database is mandatory on UserMailbox. Property Name: Database
**** END ERROR ****
Stack Trace: at Exch2010Extension.Exch2010ExtensionClass.AfterExportEntryToCd(Byte[] origAnchor, String origDN, String origDeltaEntryXml, Byte[] newAnchor, String newDN, String failedDeltaEntryXml, String errorMessage)</Data>
</EventData>
</Event>
July 5th, 2010 7:48pm
You have to make sure you flow at least the following exchange attributes:
homeMDB
msExchHomeServerName
mailNickname
I initially forgot the msExchHomeServerName and got errors similiar to those of you.
Some sources:
http://blogs.dirteam.com/blogs/jorge/archive/2010/03/10/provisioning-mailboxes-in-exchange-2007-2010-by-ilm-fim.aspx
http://technet.microsoft.com/en-us/magazine/ff472471.aspxhttp://setspn.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2010 1:26pm
Thanks Thomas for the response.
I'm setting those attributes using ExchangeUtils.Create(AD_MA, dn, MailNickName, homeMDB)
and
csentry("msExchHomeServerName").Value = "/o=CKOrg/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXCH10"
I also ran the cmdlets
Set-WSManQuickConfig & Set-User –identity username –RemotePowershellEnabled $True
Still stumped.
July 6th, 2010 9:42pm
Has a solution to this problem been found?
We are receiving the exact same problem and currently cannot find a solution.
Free Windows Admin Tool Kit Click here and download it now
November 30th, 2010 8:01am
Likewise... anyone have any luck?
Suspect it is a dodgy Exchange installation... a google around seems to indicate that reinstalling Exchange is the answer. This doesn't surprise me as this is an Exchange instance setup for the dev environment I'm working in.
Thoughts?
- Ross Currie
June 15th, 2011 8:43am
Have you verified that you can open a remote powershell session to your Exchange CAS server from the Sync server, using your AD MA user account? Open the session, and verify you can successfully run the "Update-Recipient" cmdlet against a user - that
is the same cmdlet FIM calls after exporting a change.. If that is successful, then your problem lies in FIM, if not, it is likely an Exchange issue. Use these commands to test the remote connection (replace the URL with your own, obviously):
$Cred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://cas.mydomain.com/powershell/ -Credential $Cred -Authentication Basic
Import-PSSession $Session
Update-Recipient <username>
Keith
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2011 4:47pm
Issue turned out to be that regardless of the level of access that the account running the AD MA was using, it didn't appear in the Organization Management group, which is essentially the built-in Exchange 2010 administrators group.
Overcame all our problems once the AD MA user was added to this group.
- Ross Currie
June 29th, 2011 3:54am