Calling an intranet webservice from a SPO hosted app.

Accessing cross domain intranet sites seems to be disabled by default. I found this solution for a farm based installation...

$farm.Properties.DisableIntranetCalls = $false
$farm.Properties.DisableIntranetCallsFromApps = $false
$farm.update()

I was wondering/hoping there is a SharePoint 2013 Online equivalent?

Thanks,

Pat

July 30th, 2015 3:33pm

Hi,

Per my knowledge, the PowerShell snippet not work for SharePoint Online environment.

If you want to make cross domain call in SharePoint Online, I suggest you can use Cross Domain library to achieve it.

Here are some detailed articles for your reference:

Access SharePoint 2013 data from add-ins using the cross-domain library

Work with the cross-domain library across different Internet Explorer security zones in SharePoint Add-ins

Thanks

Best Regars

Free Windows Admin Tool Kit Click here and download it now
July 31st, 2015 2:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics