SharePoint 2010 Target Audience not working for Trusted Domain

 

Environment:

SharePoint 2010 with Dec CU 2012

SharePoint Domain: Contoso.com

Trusted Domain: Trusted.com

Issue:

Users from Trusted.com are not able to view the web part which they targeted to. The scenario here is we haven't used the audience group, we have directly  picked the security group  from Audience Targeting picker.

Users from Contoso.com are able to see the web part without any issues.

Troubleshooting and Fix:

1.  The ULS logs didn't help much to troubleshoot this issue and decided to verify the basics of the sync connection and UPS setup.

2. Verified the UPS and sync connection for the trusted.com and everything were normal.

3. Verified the group and made sure the group is security and global.

4.  Verified the profile import for the trusted domain and found that the users are getting imported using the Forefront identity manager.

5.  After verifying all the basics decided to check the trusted.com domain setup details.

6.  Found that the Trusted.com FQDN and NetBIOS(TRU) are different and the NetBiosDomainNamesEnabled property not been enabled on the UPS ( Bingo!).

7. Enabled the property on the UPS NetBiosDomainNamesEnabled:

$upa = Get-SPServiceApplication | where {$_.TypeName -eq "User Profile Service Application"}

$upa.NetBiosDomainNamesEnabled = $true

$upa.Update()

8. Deleted the sync connection for the Trusted.com and recreated the connection.

9. Initiated the full import and after the import the users from Trusted.com were able to see the web part!!!

Happy SharePointing Smile

Cheers!

 

Bala