Monday, January 23, 2023

DataFormWebPart may be blocked from accessing an external URL (KB5004210) - Microsoft Support [MS]

Symptoms

DataFormWebPart may be blocked from accessing an external URL, and it generates "8scdc" event tags in SharePoint Unified Logging System (ULS) logs. 

Cause

Because of security concerns, DataFormWebPart was changed to support only accessing internal URLs.

Workaround

To work around this issue, you can contact the farm administrator to use PowerShell to add the blocked host name to SPFarm.AllowedSafeDomain.

For example, assume that you find the following message in the ULS logs:

8scdc  http://externalURL url not allowed in ResloveUri, you can contact farm admin to add the host name to SPFarm.AllowedSafeDomain

Open PowerShell, and run the following cmdlets:

Add-PSSnapin Microsoft.SharePoint.PowerShell
$farm=Get-SPFarm
$farm.AllowedSafeDomain.Add("blocked_externalURL_host_name")
$farm.update()

No comments:

Post a Comment

Search This Blog

Set organization-wide policies for using groups - Google Workspace Admin Help [gg-a-en]

Set organization-wide policies for using groups Use Groups for Business sharing settings Requires turning on Groups for Business As...