Home
%3CLINGO-SUB%20id%3D%22lingo-sub-846566%22%20slang%3D%22en-US%22%3ESharepoint%202019%20-%20Manager%20Field%20NOT%20updated%20when%20UPSA%20configured%20for%20External%20Identity%20Manager%20Syn%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-846566%22%20slang%3D%22en-US%22%3E%3CP%3EConfiguring%20External%20Identity%20Manager%20is%20NOT%20new%20for%20Sharepoint.%26nbsp%3B%20There%20are%20multiple%20articles%20on%20how%20to%20configure%20External%20MIM%20with%20Sharepoint%20and%20get%20the%20User%20profiles%20Synched.%26nbsp%3B%20This%20article%20is%20NOT%20intended%20to%20discuss%20on%20how%20the%20configuration%20works%2C%20but%20this%20will%20help%20to%20understand%20how%20the%20manager%20information%20is%20updated%20to%20a%20profile.%26nbsp%3BWith%20Sharepoint%202019%20%2C%20we%20see%20this%20functionality%20doesn%E2%80%99t%20work%20well%20too.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%E2%80%99s%20see%20how%20it%20works%20with%20Sharepoint%202016%3C%2FP%3E%0A%3CP%3EWhen%20the%20User%20profile%20service%20application%20is%20set%20to%20Adimport%20mode%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20user%20data%20is%20directly%20imported%20to%20%3CSTRONG%3E%3CI%3Eupa.userprofile_full%3C%2FI%3E%3C%2FSTRONG%3Eand%20%3CSTRONG%3E%3CI%3Eupa.userprofilevalue%20%3C%2FI%3E%3C%2FSTRONG%3E%3CI%3Et%3C%2FI%3Eables%20accordingly.%3C%2FLI%3E%0A%3CLI%3EHowever%20the%20Manager%20information%20is%20NOT%20saved%20directly%20to%20these%20tables%20as%20the%20manager%20value%20is%20again%20of%20a%20%E2%80%9Cperson%22%20property%20and%20not%20just%20a%20text%20or%20integer.%3C%2FLI%3E%0A%3CLI%3EHence%20this%20will%20be%20saved%20to%20%3CSTRONG%3E%3CI%3Eupa.ProfileImportStagingPersonProperties%3C%2FI%3E%3C%2FSTRONG%3Etable%20and%20will%20be%20processed%20in%20the%20POST%20processing%20stage.%3C%2FLI%3E%0A%3CLI%3EThe%20Timer%20job%20%22%3CSTRONG%3E%3CI%3EUPA%20-%20User%20Profile%20ActiveDirectory%20Import%20Job%3C%2FI%3E%3C%2FSTRONG%3E%22%20will%20do%20the%20import%20activity%20and%20once%20its%20completed%20the%20same%20job%20will%20process%20the%20data%20from%20the%20stagin%20table%20%3CSTRONG%3E%3CI%3Eupa.ProfileImportStagingPersonProperties%3C%2FI%3E%3C%2FSTRONG%3Eand%20saves%20it%20to%20%3CSTRONG%3E%3CI%3EUserprofile_full%3C%2FI%3E%3C%2FSTRONG%3Eand%20%3CSTRONG%3E%3CI%3EUserprofileValue%20%3C%2FI%3E%3C%2FSTRONG%3Etables.%3C%2FLI%3E%0A%3CLI%3EThe%20timer%20job%20uses%20a%20stored%20proc%20%3CSTRONG%3E%3CI%3EIMPORTEXPORT_PostImportUserProperties%3C%2FI%3E%3C%2FSTRONG%3E%26nbsp%3Bto%20process%20the%20Manager%20information%20from%20%3CSTRONG%3E%3CI%3Eupa.ProfileImportStagingPersonProperties%20%3C%2FI%3E%3C%2FSTRONG%3Eand%20save%20to%3CSTRONG%3E%3CI%3EUserprofile_full%3C%2FI%3E%3C%2FSTRONG%3Eand%20%3CSTRONG%3E%3CI%3EUserprofileValue%3C%2FI%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWhen%20the%20User%20profile%20Service%20Application%20is%20set%20to%20MIM%20(External)%20import%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20user%20data%20is%20directly%20imported%20to%20%3CSTRONG%3E%3CI%3Eupa.userprofile_full%20%3C%2FI%3E%3C%2FSTRONG%3Eand%20%3CSTRONG%3E%3CI%3Eupa.userprofilevalue%3C%2FI%3E%3C%2FSTRONG%3Etables%20by%20the%20MIM%20(No%20Timer%20Job%20in%20SharePoint)%3C%2FLI%3E%0A%3CLI%3EThe%20manager%20information%20is%20saved%20to%20%3CSTRONG%3E%3CI%3Eupa.ProfileImportStagingPersonProperties%3C%2FI%3E%3C%2FSTRONG%3Etable%20as%20usual%3C%2FLI%3E%0A%3CLI%3EBut%20there%20is%20no%20Job%20to%20process%20the%20data%20from%20this%20staging%20table%20and%20writes%20to%20%3CSTRONG%3E%3CI%3Euserprofile_full%20%3C%2FI%3E%3C%2FSTRONG%3Eor%20%3CSTRONG%3E%3CI%3Euserprofilevalue%3C%2FI%3E%3C%2FSTRONG%3Etables.%3C%2FLI%3E%0A%3CLI%3EHence%20in%20SP2016%20%2C%20a%20new%20Timer%20job%20has%20been%20introduced%20to%20process%20this%20data%20when%20the%20UPA%20is%20set%20to%20MIM%20import%20-%20%3CSTRONG%3E%3CI%3EUPA-Updates%20Profile%20Memberships%20and%20Relationships%20Job%3C%2FI%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EMore%20information%20about%20this%20job%2C%20please%20refer%3CI%3E%3A%26nbsp%3B%3C%2FI%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3141517%2Ffebruary-21-2017-update-for-sharepoint-server-2016-kb3141517%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CI%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3141517%2Ffebruary-21-2017-update-for-sharepoint-server-2016-kb3141517%3C%2FI%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWhen%20it%20comes%20to%20SharePoint%202019%20%2C%20the%20functionality%20looks%20to%20be%20similar%2C%20we%20do%20have%20a%20similar%20Timer%20job%20to%20process%20the%20imported%20data%2C%26nbsp%3B%20however%20there%20seems%20to%20be%20a%20slight%20difference%20%2C%20here%20it%20is.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3CSTRONG%3ESP%20%3C%2FSTRONG%3E%3CSTRONG%3E%3CI%3E2016%3C%2FI%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EDisplayName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3A%20UPA%20-%20Updates%20Profile%20Memberships%20and%20Relationships%20Job%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EDescription%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3A%20Updates%20group%20membership%20and%20profile%20relationships%20with%20changes%20found%20in%20the%20directory.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3ETitle%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3A%20UPA%20-%20Updates%20Profile%20Memberships%20and%20Relationships%20Job%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3A%20UPA_ExternalIdentityManagerMembershipsAndRelationshipsJob%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3ETypeName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3A%20Microsoft.Office.Server.UserProfiles.OM.ExternalIdentityManagerMembershipsAndRelationshipsJob%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESP2019%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EDisplayName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3A%20MIM_UPA%20-%20Updates%20Profile%20Memberships%20and%20Relationships%20Job%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EDescription%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3A%20Updates%20group%20membership%20changes%20and%20Profile%20relationships%20from%20Active%20Directory%20into%20Profile%20Database.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3ETitle%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3A%20MIM_UPA%20-%20Updates%20Profile%20Memberships%20and%20Relationships%20Job%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3A%20MIM_UPA_UpdateMembershipsAndRelationships%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3ETypeName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3A%20Microsoft.Office.Server.UserProfiles.ADImport.UpdateMembershipsAndRelationshipsJob%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3EMore%20information%20about%20the%20Job%20%3A%20refer%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fjoshroark.com%2Fsharepoint-profile-sync-with-mim-managers-and-group-memberships-are-not-updated%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fjoshroark.com%2Fsharepoint-profile-sync-with-mim-managers-and-group-memberships-are-not-updated%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20a%20working%20scenario%20(that%20is%20Sharepoint%20Adimport%20mode)%20%2C%20you%20can%20see%20the%20following%20in%20the%20ULS%20logs%20(verboseEX%20mode)%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3ESqlCommand%3A%20'%5Bupa%5D.%5BImportExport_PostImportUserProperties%5D'%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECommandType%3A%20StoredProcedure%20CommandTimeout%3A%200%3C%2FP%3E%0A%3CP%3EParameter%3A%20'%40correlationId'%20Type%3A%20UniqueIdentifier%20Size%3A%200%3C%2FP%3E%0A%3CP%3EDirection%3A%20Input%20Value%3A%20'00000000-0000-0000-0000-000000000000'%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20a%20non-working%20scenario%20(that's%20external%20MIM)%20%2C%20we%20do%20not%20see%20this%20call%20getting%20triggered.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20issue%20is%20being%20reviewed%20by%20the%20concerned%20team%20at%20Microsoft%20and%20the%20work%20around%20for%20now%20is%20to%20enable%20the%20noilmused%20property.%3C%2FP%3E%0A%3CP%3EPlease%20make%20sure%20that%20NO%20Sync%20configuration%20(creating%20connection%2C%20property%20mapping%20etc)%20are%20setup%20from%20Sharepoint%20central%20admin%20when%20the%20User%20profile%20service%20application%20is%20set%20to%20NOILMUSED%3D1.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3BHow%20to%20set%20the%20value%3F%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3E%3CI%3E%24upa%3Dget-spserviceapplicaiton%20%3CID%20of%3D%22%22%20upa%3D%22%22%3E%3C%2FID%3E%3C%2FI%3E%3C%2FP%3E%0A%3CP%3E%3CI%3E%24upa.noilmused%3D1%3C%2FI%3E%3C%2FP%3E%0A%3CP%3E%3CI%3E%24upa.update()%3C%2FI%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%3CI%3E%26nbsp%3B%3C%2FI%3E%3C%2FP%3E%0A%3CP%3E%3CI%3ETo%20reset%3C%2FI%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3E%3CI%3E%24upa%3Dget-spserviceapplicaiton%20%3CID%20of%3D%22%22%20upa%3D%22%22%3E%3C%2FID%3E%3C%2FI%3E%3C%2FP%3E%0A%3CP%3E%3CI%3E%24upa.noilmused%3D0%3C%2FI%3E%3C%2FP%3E%0A%3CP%3E%3CI%3E%24upa.update()%3C%2FI%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWill%20update%20this%20once%20a%20permanent%20fix%20is%20announced%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-846566%22%20slang%3D%22en-US%22%3E%3CP%3En%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Microsoft

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

  • The user data is directly imported to upa.userprofile_full and upa.userprofilevalue tables accordingly.
  • However the Manager information is NOT saved directly to these tables as the manager value is again of a “person" property and not just a text or integer.
  • Hence this will be saved to upa.ProfileImportStagingPersonProperties table and will be processed in the POST processing stage.
  • The Timer job "UPA - User Profile ActiveDirectory Import Job " will do the import activity and once its completed the same job will process the data from the stagin table upa.ProfileImportStagingPersonProperties and saves it to Userprofile_full and UserprofileValue tables.
  • The timer job uses a stored proc IMPORTEXPORT_PostImportUserProperties  to process the Manager information from upa.ProfileImportStagingPersonProperties and save to Userprofile_full and UserprofileValue

When the User profile Service Application is set to MIM (External) import

  • The user data is directly imported to upa.userprofile_full and upa.userprofilevalue tables by the MIM (No Timer Job in SharePoint)
  • The manager information is saved to upa.ProfileImportStagingPersonProperties table as usual
  • But there is no Job to process the data from this staging table and writes to userprofile_full or userprofilevalue tables.
  • Hence in SP2016 , a new Timer job has been introduced to process this data when the UPA is set to MIM import - UPA-Updates Profile Memberships and Relationships Job
  • More information about this job, please referhttps://support.microsoft.com/en-us/help/3141517/february-21-2017-update-for-sharepoint-server-2016-...

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