Allowed severity of sexual content to and from the Summarization with References scenario for the user.
| Registry value | allowedsexualcontent |
| Group Policy | Allowed severity of sexual content to and from the Summarization with References scenario for the user. |
| German version | Allowed severity of sexual content to and from the Summarization with References scenario for the user. |
| Scope | User · HKCU |
| ADMX | office16.admx · L_AllowedSexualContentSpecificSummarizationWithReferencesUser |
Group Policy path
Registry
| Value | Data |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\summarizationwithreferences | |
| allowedsexualcontent | decimal 0–7 |
Not configured = the value does not exist – the application default applies and users may change the setting.
PowerShell
Check the current value (read-only)
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
$key = "$root\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\summarizationwithreferences"
foreach ($name in @('allowedsexualcontent')) {
try { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
catch { '{0}: not configured' -f $name }
}Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.
Enable
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
try {
$key = "$root\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\summarizationwithreferences"
if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
New-ItemProperty -Path $key -Name 'allowedsexualcontent' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null # range 0–7
'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }Reset to Not configured
# --- Settings --- $root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>' $key = "$root\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\summarizationwithreferences" Remove-ItemProperty -Path $key -Name 'allowedsexualcontent' -ErrorAction SilentlyContinue 'Policy values removed (Not configured).'
Intune (settings catalog)
Not found in the current settings catalog export. Search the catalog for Allowed severity of sexual content to and from the Summarization with References scenario for the user. (Microsoft Office 2016 › AI › Content Safety › Specific › Summarization with References).
Cloud Policy
Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Allowed severity of sexual content to and from the Summarization with References scenario for the user.. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.
Microsoft explanation
This local content safety policy setting adjusts the allowed severity of sexual content to and from the Summarization with References scenario for the user. The allowed severity may range from 0 to 7.
0 means allow no sexual content.
7 means allow all sexual content.
For more information on content safety severities, please refer to the following documentation:
https://learn.microsoft.com/en-us/azure/ai-services/content-safety/concepts/harm-categories?tabs=definitions
For local content safety policy, scenario-specific settings are prioritized over general settings and computer settings are prioritized over user settings.
If a higher priority policy setting is not configured, then:
- If this policy setting is not configured, the allowed severity of sexual content to and from the Summarization with References scenario is determined by lower priority policy settings.
- If this policy setting is not configured and lower priority policy settings are also not configured, the allowed severity of sexual content to and from the Summarization with References scenario defaults to 2.
For this policy setting, the order of priority is:
1. Allowed severity of sexual content to and from the Summarization with References scenario for the computer.
2. Allowed severity of sexual content in general for the computer.
3. Allowed severity of sexual content to and from the Summarization with References scenario for the user.
4. Allowed severity of sexual content in general for the user.
Same category: Microsoft Office 2016 › AI › Content Safety › Specific › Summarization with References
- Disable local content safety to and from the Summarization with References scenario for the user.disablecontentsafety
- Allowed severity of hate content to and from the Summarization with References scenario for the user.allowedhatecontent
- Allowed severity of violent content to and from the Summarization with References scenario for the user.allowedviolentcontent
- Allowed severity of self-harm content to and from the Summarization with References scenario for the user.allowedselfharmcontent
All policies in this category · All 945 policies of office16.admx