Office Admin Explorer

Allowed severity of sexual content to and from the Alternative Text scenario for the user.

Registry value
allowedsexualcontent
Group PolicyAllowed severity of sexual content to and from the Alternative Text scenario for the user.
German versionAllowed severity of sexual content to and from the Alternative Text scenario for the user.
ScopeUser · HKCU
ADMXoffice16.admx · L_AllowedSexualContentSpecificAlternativeTextUser
Open in the interactive explorer+ Add to my collection

Group Policy path

User Configuration\Policies\Administrative Templates\Microsoft Office 2016\AI\Content Safety\Specific\Alternative Text
Benutzerkonfiguration\Richtlinien\Administrative Vorlagen\Microsoft Office 2016\AI\Inhalt Sicherheit\Spezifisch\Alternativer Text

Registry

ValueData
HKCU\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\alternativetext
allowedsexualcontentdecimal 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\alternativetext"
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\alternativetext"
    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\alternativetext"
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 Alternative Text scenario for the user. (Microsoft Office 2016 › AI › Content Safety › Specific › Alternative Text).

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 Alternative Text 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 Alternative Text 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 Alternative Text 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 Alternative Text scenario defaults to 2.

For this policy setting, the order of priority is:

1. Allowed severity of sexual content to and from the Alternative Text 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 Alternative Text scenario for the user.

4. Allowed severity of sexual content in general for the user.

Same category: Microsoft Office 2016 › AI › Content Safety › Specific › Alternative Text

All policies in this category · All 945 policies of office16.admx