SOLVED

PnP Provisioning - Support for target audience in PnP Site Provisioning Framework?

Brass Contributor

We have been using the PnP Site provisioning code to update structural Navigation handlers and have noticed that the provisioning framework doesn't retrieve or allow Target Audience information from structural navigation nodes.

 

Will support be added to provision target audiences for Navigation in the PnP site provisioning framework?

2 Replies
best response confirmed by Steve Borgwardt (Brass Contributor)
Solution

Hi,

audience configuration is unfortunately not exposed using remote APIs (CSOM/REST), so we can't currently implement this with the PnP provisioning engine. Second consideration is that audiences are configurable in on-premises, but in SharePoint Online, they are compiled once in a week, which makes them pretty much unusable for the classic scenarios.

What about when SP groups or AD groups are utilized in place of an actual audience group in navigation?
1 best response

Accepted Solutions
best response confirmed by Steve Borgwardt (Brass Contributor)
Solution

Hi,

audience configuration is unfortunately not exposed using remote APIs (CSOM/REST), so we can't currently implement this with the PnP provisioning engine. Second consideration is that audiences are configurable in on-premises, but in SharePoint Online, they are compiled once in a week, which makes them pretty much unusable for the classic scenarios.

View solution in original post