Query execution is only allowed with IgnoreSafeQueryPropertiesTemplateUrl=true when the user has the UseRemoteAPIs permission

Error Message

I had setup a cloud Hybrid Search environment for one of my customers with SharePoint 2016 and SharePoint Online. It was working fine for past few weeks, until one fine day for almost all the users started getting the error message “Microsoft.SharePoint.Client.ServerException: Query execution is only allowed with IgnoreSafeQueryPropertiesTemplateUrl=true when the user has the UseRemoteAPIs permission” when searched from on-prem environment. Cloud Hybrid and Federated Setup Just to share some background about the environment setup, I had followed the recommended approach for setting up the cloud hybrid environment and all the content was correctly getting indexed in Office 365. The […]

Continue Reading

Developing Hybrid Apps for SharePoint 2013 and Office 365

Hey guys, You could find a lot of articles over internet on how to setup a development environment for developing SharePoint Apps. Some of those articles (including technet) nicely explain how to setup the Apps environment for SharePoint.However, when I started exploring, I found many confusing and contradicting stuffs there, for example Configure your Domain Name section in the technet article Configure an environment for apps for SharePoint (SharePoint 2013) is correct for SharePoint hosted Apps (or if you want to use SharePoint store apps) and NOT for provider hosted apps !!! Anyway, I will skip these and assume that you have […]

Continue Reading