Configuring External Identity Manager is NOT new for Sharepoint. There are multiple articles on how to configure External MIM with Sharepoint and get the User profiles Synched. This article is NOT intended to discuss on how the configuration works, but this will help to understand how the manager information is updated to a profile. With Sharepoint 2019 , we see this functionality doesn’t work well too.
Let’s see how it works with Sharepoint 2016
When the User profile service application is set to Adimport mode
When the User profile Service Application is set to MIM (External) import
When it comes to SharePoint 2019 , the functionality looks to be similar, we do have a similar Timer job to process the imported data, however there seems to be a slight difference , here it is.
SP 2016
DisplayName |
: UPA - Updates Profile Memberships and Relationships Job |
Description |
: Updates group membership and profile relationships with changes found in the directory. |
Title |
: UPA - Updates Profile Memberships and Relationships Job |
Name |
: UPA_ExternalIdentityManagerMembershipsAndRelationshipsJob |
TypeName |
: Microsoft.Office.Server.UserProfiles.OM.ExternalIdentityManagerMembershipsAndRelationshipsJob |
SP2019
DisplayName |
: MIM_UPA - Updates Profile Memberships and Relationships Job |
Description |
: Updates group membership changes and Profile relationships from Active Directory into Profile Database. |
Title |
: MIM_UPA - Updates Profile Memberships and Relationships Job |
Name |
: MIM_UPA_UpdateMembershipsAndRelationships |
TypeName |
: Microsoft.Office.Server.UserProfiles.ADImport.UpdateMembershipsAndRelationshipsJob |
More information about the Job : refer https://joshroark.com/sharepoint-profile-sync-with-mim-managers-and-group-memberships-are-not-update...
In a working scenario (that is Sharepoint Adimport mode) , you can see the following in the ULS logs (verboseEX mode)
SqlCommand: '[upa].[ImportExport_PostImportUserProperties]' CommandType: StoredProcedure CommandTimeout: 0 Parameter: '@correlationId' Type: UniqueIdentifier Size: 0 Direction: Input Value: '00000000-0000-0000-0000-000000000000' |
In a non-working scenario (that's external MIM) , we do not see this call getting triggered.
This issue is being reviewed by the concerned team at Microsoft and the work around for now is to enable the noilmused property.
Please make sure that NO Sync configuration (creating connection, property mapping etc) are setup from Sharepoint central admin when the User profile service application is set to NOILMUSED=1.
How to set the value?
$upa=get-spserviceapplicaiton <ID of UPA> $upa.noilmused=1 $upa.update() |
To reset
$upa=get-spserviceapplicaiton <ID of UPA> $upa.noilmused=0 $upa.update() |
Will update this once a permanent fix is announced
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.