Hello, There is a script for that. Use this script and let me know how it goes, Mark as helpful so others can access.
$registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\SrpV2"
$registryKey = "AppxRuleList"
if (Test-Path $registryPath) {
Remove-ItemProperty -Path $registryPath -Name $registryKey -ErrorAction SilentlyContinue
Write-Host "AppLocker policy has been removed."
} else {
Write-Host "No AppLocker policy found on this computer."
}
To push this script out from Microsoft Intune, you can create a new PowerShell script profile in Intune and paste the script into the PowerShell script field. Then, assign the profile to the target devices or device groups as desired.