none
There is no trusted urls configured for the app deployment in SharePoint hosted apps? RRS feed

  • Question

  • Hi,

                  past last one month am working in SharePoint Hosted apps.

    am getting all host web details and host web details every thing working fine but today am receiving "There is no trusted urls configured for the app deployment" is there any problem with js files like (SP.requestexecutor.js)

    while debugging javascript am getting this information what i will do here Please advice?


     Wed Feb 26 15:59:49 UTC+0530 2014:The frame element does not exist. Put request in queue
     Wed Feb 26 15:59:49 UTC+0530 2014:Created IFrame https://sharepoint.com/sites/dev/TestGettingContactList/_layouts/15/AppWebProxy.aspx?SP.AppPageUrl=https://.sharepoint.com/sites/dev/TestGettingContactList/Pages/Demo.aspx
     Wed Feb 26 15:59:49 UTC+0530 2014:Create IFrameLoadTimeout 92
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.Init
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.addEventListener
     Wed Feb 26 15:59:50 UTC+0530 2014:Processing IFRAME onload event
     Wed Feb 26 15:59:50 UTC+0530 2014:Clear IFrameLoadTimeout 92
     Wed Feb 26 15:59:50 UTC+0530 2014:Start to ping the IFRAME https://.sharepoint.com/sites/dev/TestGettingContactList/_layouts/15/AppWebProxy.aspx
     Wed Feb 26 15:59:50 UTC+0530 2014:Create IFramePingTimeout 93
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.PostMessage.Message: {"command":"Ping","postMessageId":"SP.RequestExecutor2"}
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.PostMessage.Target: https://.sharepoint.com/sites/dev/TestGettingContactList/_layouts/15/AppWebProxy.aspx
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Message.data={"command":"Ping","postMessageId":"SP.RequestExecutor2"}
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Message.origin=https://.sharepoint.com
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Processing ping command
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.PostMessage.Message: {"command":"Ping","postMessageId":"SP.RequestExecutor2","responseAvailable":false,"errorCode":0,"errorMessage":""}
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.PostMessage.Target: https://.sharepoint.com
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.OnMessage
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.OnMessage: Message.data={"command":"Ping","postMessageId":"SP.RequestExecutor2","responseAvailable":false,"errorCode":0,"errorMessage":""}
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.OnMessage: Message.origin=https://.sharepoint.com
     Wed Feb 26 15:59:50 UTC+0530 2014:Successfully load frame for https://.sharepoint.com/sites/dev/TestGettingContactList/_layouts/15/AppWebProxy.aspx
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.PostMessage.Message: {"command":"Query","url":"https://.sharepoint.com/sites/dev/TestGettingContactList/_api/contextinfo","method":"POST","body":null,"headers":{"ACCEPT":"application/json;odata=verbose"},"postMessageId":"SP.RequestExecutor1","timeout":180000}
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.PostMessage.Target: https://.sharepoint.com/sites/dev/TestGettingContactList/_layouts/15/AppWebProxy.aspx
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Message.data={"command":"Query","url":"https://.sharepoint.com/sites/dev/TestGettingContactList/_api/contextinfo","method":"POST","body":null,"headers":{"ACCEPT":"application/json;odata=verbose"},"postMessageId":"SP.RequestExecutor1","timeout":180000}
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Message.origin=https://.sharepoint.com
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.PostMessage.Message: {"command":"Query","postMessageId":"SP.RequestExecutor1","responseAvailable":false,"errorCode":-1005,"errorMessage":"There is no trusted URLs configured for the app deployment."}
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutorMessageProcessor.PostMessage.Target: https://.sharepoint.com
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.OnMessage
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.OnMessage: Message.data={"command":"Query","postMessageId":"SP.RequestExecutor1","responseAvailable":false,"errorCode":-1005,"errorMessage":"There is no trusted URLs configured for the app deployment."}
     Wed Feb 26 15:59:50 UTC+0530 2014:RequestExecutor.OnMessage: Message.origin=https://sharepointsite
     Wed Feb 26 16:02:32 UTC+0530 2014:The frame element does not exist. Put request in queue
     Wed Feb 26 16:02:32 UTC+0530 2014:Remove the existing IFRAME for https://.sharepoint.com/sites/dev/TestGettingContactList/_layouts/15/AppWebProxy.aspx
     Wed Feb 26 16:02:32 UTC+0530 2014:Created IFrame https://SharepointApp/_layouts/15/AppWebProxy.aspx?SP.AppPageUrl=https://sharepointsite/sites/dev/TestGettingContactList/Pages/Demo.aspx
     Wed Feb 26 16:02:32 UTC+0530 2014:Create IFrameLoadTimeout 101
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.Init
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.addEventListener
     Wed Feb 26 16:02:34 UTC+0530 2014:Processing IFRAME onload event
     Wed Feb 26 16:02:34 UTC+0530 2014:Clear IFrameLoadTimeout 101
     Wed Feb 26 16:02:34 UTC+0530 2014:Start to ping the IFRAME https:///sharepointsite/_layouts/15/AppWebProxy.aspx
     Wed Feb 26 16:02:34 UTC+0530 2014:Create IFramePingTimeout 102
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.PostMessage.Message: {"command":"Ping","postMessageId":"SP.RequestExecutor2"}
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.PostMessage.Target: http://sharepointsite/_layouts/15/AppWebProxy.aspx
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Message.data={"command":"Ping","postMessageId":"SP.RequestExecutor2"}
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Message.origin=https://.sharepoint.com
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Processing ping command
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.PostMessage.Message: {"command":"Ping","postMessageId":"SP.RequestExecutor2","responseAvailable":false,"errorCode":0,"errorMessage":""}
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.PostMessage.Target: https://sharepointsite
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.OnMessage
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.OnMessage: Message.data={"command":"Ping","postMessageId":"SP.RequestExecutor2","responseAvailable":false,"errorCode":0,"errorMessage":""}
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.OnMessage: Message.origin=https://.sharepoint.com
     Wed Feb 26 16:02:34 UTC+0530 2014:Successfully load frame for https://sharepointsite/sites/dev/TestGettingContactList/_layouts/15/AppWebProxy.aspx
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.PostMessage.Message: {"command":"Query","url":"https://sharepointsite/sites/dev/TestGettingContactList/_api/contextinfo","method":"POST","body":null,"headers":{"ACCEPT":"application/json;odata=verbose"},"postMessageId":"SP.RequestExecutor1","timeout":180000}
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.PostMessage.Target: https://sharepointsite/_layouts/15/AppWebProxy.aspx
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.OnMessage
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.OnMessage: Message.data={"command":"Ping","postMessageId":"SP.RequestExecutor2","responseAvailable":false,"errorCode":0,"errorMessage":""}
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.OnMessage: Message.origin=https://sharepointsite.sharepoint.com
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Message.data={"command":"Query","url":"https://sharepointsite/sites/dev/TestGettingContactList/_api/contextinfo","method":"POST","body":null,"headers":{"ACCEPT":"application/json;odata=verbose"},"postMessageId":"SP.RequestExecutor1","timeout":180000}
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.OnMessage: Message.origin=https://.sharepoint.com
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.PostMessage.Message: {"command":"Query","postMessageId":"SP.RequestExecutor1","responseAvailable":false,"errorCode":-1005,"errorMessage":"There is no trusted URLs configured for the app deployment."}
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutorMessageProcessor.PostMessage.Target: https://sharepoint.com
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.OnMessage
     Wed Feb 26 16:02:34 UTC+0530 2014:RequestExecutor.OnMessage: Message.data={"command":"Query","postMessageId":"SP.RequestExecutor1","responseAvailable":false,"errorCode":-1005,"errorMessage":"There is no trusted URLs configured for the app deployment."}


    Wednesday, February 26, 2014 10:53 AM

Answers

  • I have also tried testing with some other 'REST' based SharePoint apps ...

    App Name: _api JSON Viewer
    App Version: Version 3.1.0.0

    and

    App Name:  'BC Site Tools'
    App Version: Version 1.0.1.1

    (both available in SharePoint Store)

    Both are reporting the same 'no trusted urls configured for the app deployment' error when installed onto the "problem/affected" O365 tenant subscription.

    First assumed tenant subscription was affected by Office365 Incident SP4223: SharePoint Online Incident (https://portal.microsoftonline.com/ServiceStatus/ServiceStatusDetails.aspx?ids=SP4223&type=0&u=5073258)

    However, this is now being reported as "resolved".

    Then tested on an "alternative" O365 tenant subscription.. all apps worked without a problem.

    So, it doesn't appear to be "code related".. and is only affectiving 'some or a minority' of SharePoint Online subscriptions

    Wednesday, February 26, 2014 1:47 PM
  • you are right, i have tested the app on a different O365 tenant and it worked properly. On both tenants the incident SP4223 is documented.

    So i can verify that is is not "code related". Microsoft just missed something here...

    Wednesday, February 26, 2014 2:20 PM

All replies

  • Same here??

    Anyone else experiencing 'Cross Domain REST' issues returning 'no trusted urls configured for the app deployment'? (from sharepoint hosted apps )

    Wednesday, February 26, 2014 11:40 AM
  • I am getting the same error.

    See the other thread (sorry i cannot post a link. The title of the thread is 'Sharepoint Hosted App Gives "There is no trusted URLs configured for the app deployment" error')

    Wednesday, February 26, 2014 1:16 PM
  • I have also tried testing with some other 'REST' based SharePoint apps ...

    App Name: _api JSON Viewer
    App Version: Version 3.1.0.0

    and

    App Name:  'BC Site Tools'
    App Version: Version 1.0.1.1

    (both available in SharePoint Store)

    Both are reporting the same 'no trusted urls configured for the app deployment' error when installed onto the "problem/affected" O365 tenant subscription.

    First assumed tenant subscription was affected by Office365 Incident SP4223: SharePoint Online Incident (https://portal.microsoftonline.com/ServiceStatus/ServiceStatusDetails.aspx?ids=SP4223&type=0&u=5073258)

    However, this is now being reported as "resolved".

    Then tested on an "alternative" O365 tenant subscription.. all apps worked without a problem.

    So, it doesn't appear to be "code related".. and is only affectiving 'some or a minority' of SharePoint Online subscriptions

    Wednesday, February 26, 2014 1:47 PM
  • you are right, i have tested the app on a different O365 tenant and it worked properly. On both tenants the incident SP4223 is documented.

    So i can verify that is is not "code related". Microsoft just missed something here...

    Wednesday, February 26, 2014 2:20 PM
  • Here's the link to the other related thread

    'Sharepoint Hosted App Gives "There is no trusted URLs configured for the app deployment" error'

    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2b76988e-277c-4507-8828-216c8545ee6e/sharepoint-hosted-app-gives-there-is-no-trusted-urls-configured-for-the-app-deployment-error?forum=appsforsharepoint

    Thursday, February 27, 2014 9:44 AM
  • Hi,

    is there any update about this incident? The apps that we have published to the SharePoint Store still don't work with many of our customers.

    Regards
    Robert


    Robert Draeger - Layer2 http://www.layer2.de

    Tuesday, March 18, 2014 10:46 AM
  • All, please refer to the following post on StackExchange:  http://sharepoint.stackexchange.com/questions/91644/there-is-no-trusted-urls-configured-for-the-app-deployment-on-client-side-people/95333#95333.

    It appears there's a known issue and you have to call the toLowerCase() method on the appWebUrl object.

    My example code that is working:

    var factory = new SP.ProxyWebRequestExecutorFactory(appWebUrl.toLowerCase());

    My example code that was not working:

    var factory = new SP.ProxyWebRequestExecutorFactory(appWebUrl);


    Colorless Green Ideas Sleep Furiously http://www.sharepointnerd.com

    Saturday, April 5, 2014 12:23 PM
  • Hi Eric,

    this works when you have one tenant and one app that you can update. We have published our apps in the SharePoint store and cannot expect all of our customers to update their app.

    IMHO Microsoft needs to provide a solution here.

    Best,
    Robert


    Robert Draeger - Layer2 http://www.layer2.de

    Monday, April 14, 2014 10:32 AM