You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the -EnableModernAudienceTargeting switch to enable modern audience targeting on a library, the command runs successfully. However, upon checking the pages on the site where the command was executed, audience targeting appears to be activated. Despite this, the field seems broken, and new groups cannot be added. Additionally, instead of displaying the label "Audience," the field label shows as "$Resources:spcore,AudienceUserField_DisplayName;".
Expected behavior
When enabling audience targeting using the PnP cmdlet, I expect it to function identically to configuring it through the UI.
Steps to reproduce behavior
Create a new communication site.
Use Connect-PnPOnline to connect to new site.
Set-PnPlist -Identity "Site Pages" -EnableModernAudienceTargeting $true
Check existing pages or create new one and check "Audience" under page properties.
Which operating system/environment are you running PnP PowerShell on?
Run on Windows
PnP/SP version 4.8.0
The text was updated successfully, but these errors were encountered:
Reporting an Issue
Set-PnPlist -Identity "Site Pages" -EnableModernAudienceTargeting $true
When using the -EnableModernAudienceTargeting switch to enable modern audience targeting on a library, the command runs successfully. However, upon checking the pages on the site where the command was executed, audience targeting appears to be activated. Despite this, the field seems broken, and new groups cannot be added. Additionally, instead of displaying the label "Audience," the field label shows as "$Resources:spcore,AudienceUserField_DisplayName;".
Expected behavior
When enabling audience targeting using the PnP cmdlet, I expect it to function identically to configuring it through the UI.
Steps to reproduce behavior
Create a new communication site.
Use Connect-PnPOnline to connect to new site.
Set-PnPlist -Identity "Site Pages" -EnableModernAudienceTargeting $true
Check existing pages or create new one and check "Audience" under page properties.
Which operating system/environment are you running PnP PowerShell on?
Run on Windows
PnP/SP version 4.8.0
The text was updated successfully, but these errors were encountered: