My question sounds quite strange: is it possible to map preferredLanguage attribute from AD to a property of SharePoint 2010 user profile?
In our environments, there are no problems with other attributes. But all three farms (development, testing, pre-production) do not allow to create this mapping. I just choose any property (OOB or custom) of typestring (single value) and try to map the attribute. After submitting, message “An error occurred when updating a property” appears at the top of page. OK, SharePoint and Windows logs contain much more stuff (see below) but
not so informative for me anyway.
So, can anybody explain me what’s wrong with AD, this concrete attribute, my SharePoint configurations or with something else? Thanks in advance!
From SharePoint log:
Name=Request (POST:http://........../_layouts/EditProperty.aspx?Name=MyProperty&IsSection=False&ProfileType=User&ApplicationID=28e698b2%2Dc880%2D43e7%2D972f%2Dd5340a0afc97)
LoadConnections failed trying to fill the connections list. Most likely during RetriveResources because of permissions --- {1}. Available parameters: Microsoft.ResourceManagement.WebServices.Client.PermissionDeniedException: Access to the requested resource(s)
is denied at Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.EnumerateResources(SearchParameters parameters) at Microsoft.ResourceManagement.WebServices.ResourceManager.RetrieveResources() at Microsoft.Office.Server.UserProfiles.ConnectionManager.LoadConnections(Boolean
fForUI).
ConnectionManager.LoadConnections(): Could not find MOSS MA despite being marked as fully configured, was it deleted?
Microsoft.Office.Server.UserProfiles.CoreProperty: Profile property updated: MyProperty
LoadConnections failed trying to fill the connections list. Most likely during RetriveResources because of permissions --- {1}. Available parameters: Microsoft.ResourceManagement.WebServices.Client.PermissionDeniedException: Access to the requested resource(s)
is denied at Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.EnumerateResources(SearchParameters parameters) at Microsoft.ResourceManagement.WebServices.ResourceManager.RetrieveResources() at Microsoft.Office.Server.UserProfiles.ConnectionManager.LoadConnections(Boolean
fForUI) .
ConnectionManager.LoadConnections(): Could not find MOSS MA despite being marked as fully configured, was it deleted?
Microsoft.Office.Server.UserProfiles.ProfileTypeProperty: Profile property updated: MyProperty
LoadConnections failed trying to fill the connections list. Most likely during RetriveResources because of permissions --- {1}. Available parameters: Microsoft.ResourceManagement.WebServices.Client.PermissionDeniedException: Access to the requested resource(s)
is denied at Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.EnumerateResources(SearchParameters parameters) at Microsoft.ResourceManagement.WebServices.ResourceManager.RetrieveResources() at Microsoft.Office.Server.UserProfiles.ConnectionManager.LoadConnections(Boolean
fForUI) .
ConnectionManager.LoadConnections(): Could not find MOSS MA despite being marked as fully configured, was it deleted?
Microsoft.Office.Server.UserProfiles.ProfileSubtypeProperty: Profile property updated: MyProperty
EditProperty::_CommitMapping - Call _EnsureConfigObjects
EditProperty::_CommitMapping - Now iterating through the mappings
EditProperty::_CommitMapping - Found teh connection to use
EditProperty::_CommitMapping - Found teh connection to use
EditProperty::_CommitMapping - Adding new Import mapping
EditProperty.ButtonOK_Click(): Microsoft.ResourceManagement.WebServices.Faults.ServiceFaultException: Unable to process Put message at Microsoft.ResourceManagement.WebServices.Client.Resource.Update() at Microsoft.ResourceManagement.WebServices.ResourceManager.UpdateResource()
at Microsoft.Office.Server.UserProfiles.PropertyMap.EnsurePropertyIsInMVSchema(DSML dsml, DSMLObject dsmlObject, String& attributeName, MVConfiguration mvConfig, DSMLSyntax dsmlSyntax, String strAlternateNewPropertyName) at Microsoft.Office.Server.UserProfiles.PropertyMap.Update()
at Microsoft.Office.Server.UserProfiles.PropertyMapCollection.AddNewMapping(ProfileType type, String mossPropertyName, String maAttributeName) at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.EditProperty._CommitMapping() at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.EditProperty.ButtonOK_Click(Object
sender, EventArgs e).
Leaving Monitored Scope (Request (POST:http://............../_layouts/EditProperty.aspx?Name=MyProperty&IsSection=False&ProfileType=User&ApplicationID=28e698b2%2Dc880%2D43e7%2D972f%2Dd5340a0afc97)). Execution Time=8655.4075
From Windows log:
Log Name: Application
Source: Forefront Identity Manager
Event ID: 3
Task Category: None
Level: Error
Description:
Microsoft.ResourceManagement.Service: System.ServiceModel.FaultException: Access to the requested resource(s) is denied
at Microsoft.ResourceManagement.WebServices.ResourceManagementService.GetCurrentUserFromSecurityIdentifier()
at Microsoft.ResourceManagement.WebServices.ResourceManagementService.GetCurrentUser()
at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Enumerate(Message request)
Log Name: Application
Source: FIMSynchronizationService
Event ID: 6306
Task Category: Server
Level: Error
Description:
The server encountered an unexpected error while performing an operation for the client.
ERR: MMS(5060): schema.cpp(983): Invalid schema attribute name: "SPS_MV_String_MyProperty"
BAIL: MMS(5060): schema.cpp(984): 0x80230919 (E_MMS_SCHEMA_INVALID_NAME)
BAIL: MMS(5060): schema.cpp(114): 0x80230919 (E_MMS_SCHEMA_INVALID_NAME)
ERR: MMS(5060): mastate.cpp(12447): Error creating mv Schema object: 0x80230919
BAIL: MMS(5060): mastate.cpp(12582): 0x80230919 (E_MMS_SCHEMA_INVALID_NAME)
BAIL: MMS(5060): mastate.cpp(11281): 0x80230919 (E_MMS_SCHEMA_INVALID_NAME)
BAIL: MMS(5060): server.cpp(4068): 0x80230919 (E_MMS_SCHEMA_INVALID_NAME)
Forefront Identity Manager 4.0.2450.47
Log Name: Application
Source: Forefront Identity Manager
Event ID: 3
Task Category: None
Level: Error
Description:
Microsoft.ResourceManagement.ResourceManagementException: Exception from HRESULT: 0x80230919 ---> System.Runtime.InteropServices.COMException (0x80230919): Exception from HRESULT: 0x80230919
at MIISRCW.IMMSServer.SetMVData(String pszMVDataXML)
at Microsoft.ResourceManagement.SyncConfig.ModifyMVData(String mvDataXml)
at Microsoft.ResourceManagement.ActionProcessor.SyncConfigActionProcessor.Update(Guid objectId, CultureInfo locale, IList`1 updateParameters, Guid cause)
Log Name: Application
Source: Forefront Identity Manager
Event ID: 3
Task Category: None
Level: Error
Description:
Microsoft.ResourceManagement: Microsoft.ResourceManagement.ResourceManagementException: Exception from HRESULT: 0x80230919 ---> System.Runtime.InteropServices.COMException (0x80230919): Exception from HRESULT: 0x80230919
at MIISRCW.IMMSServer.SetMVData(String pszMVDataXML)
at Microsoft.ResourceManagement.SyncConfig.ModifyMVData(String mvDataXml)
at Microsoft.ResourceManagement.ActionProcessor.SyncConfigActionProcessor.Update(Guid objectId, CultureInfo locale, IList`1 updateParameters, Guid cause)
--- End of inner exception stack trace ---
at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception)
at Microsoft.ResourceManagement.ActionProcessor.SyncConfigActionProcessor.Update(Guid objectId, CultureInfo locale, IList`1 updateParameters, Guid cause)
at Microsoft.ResourceManagement.ActionProcessor.SyncConfigActionProcessor.ProcessInputRequest(RequestType request)
at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ProcessInputRequest(RequestType request)
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request)
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request)
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey)
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request)
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest(RequestType request)
at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Put(Message request)