SharePoint Server 2016 Audiences with MIM

EDIT 3/14/2017: This has been fixed as of the February 2017 Public Update. For more information, see Microsoft Identity Manager NoILMUsed Bug Fixed.

SharePoint Server 2016 Audiences based on the Member Of Operator with MIM do not work out of the box. On the SharePoint side, within the Profile database, the upa.MemberGroup column named MemberCount only shows a count of 0. In addition, the table upa.UserMemberships is blank.

There are two changes need to be made, one to the MIM Active Directory Management Agent. On the ADMA, create a new flow for Groups.

Under Configure Attribute Flow, select Group, then sAMAccountName. In the metaverse, select group and accountName.


The next step is to set the UPSA to use the External Identity Manager. You’ve already done this through the User Profile Service Application, but that doesn’t trigger the necessary settings to populate Active Directory group membership within the Profile database.

Once this is completed, perform a full synchronization using Start-SharePointSync. You will then be able to create an Audience that leverages the Member Of Opreator. From there, you’ll be able to search for groups when creating an Audience based off of MemberOf in addition to being able to Compile the Audience.


  1. This will definitely help in future. Thanks for sharing.

  2. We are running MIM 2016 . I changed UPA setting to $sa.NoILMUsed = $true but now Synchronization settings changes back to Ad import . How do I change it back to External identity so that it uses MIM ??

  3. Thanks for the update.

  4. Pingback: SharePoint Server 2016 Audience with MIM 2016 using “Memeber Of” AD group does not update. | Nikolay Vassilev: My thoughts on SharePoint

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.