Forum Discussion
Deleted
Nov 18, 2016Sync Custom Active Directory Attributes with SharePoint Online User Profiles
I have a requirement from a customer that goes something like this: I need to be able to target content (think Announcements and News). So I am going down the User Profile Properties path and cre...
Brent Ellis
Nov 18, 2016Silver Contributor
We use a powershell script to populate custom sharepoint user profile properties. You could create a multiple value, or even a regular string field with a value like CustomDepartment equals "HR Department;IT Department"
Then set up your "Audiences" rule to populate based on a name of IT Department Audience where the rule is field CustomDepartment "contains" "IT Department"
Then set up your "Audiences" rule to populate based on a name of IT Department Audience where the rule is field CustomDepartment "contains" "IT Department"
Deleted
Nov 18, 2016Hi Brent Ellis thanks for the response. I would like to try an avoid the "Audiences" as this solution will be in SharePoint Online and my experience with Audiences in SP Online is that they take for ever to compile and there is no way to manually compile?
Therefore going down the Search path and utilising search queries to match values in User Profile Properties with "tags" added to content.
I think I will go down the PowerShell path and get the security groups (as this is an accurate representation of what "teams" the user belongs) and populate a custom multi valued SharePoint User Profile Property.
Good approach?