Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

"Access Denied" App Part on Anonymous Public facing site

$
0
0

I am working on a SharePoint-Hosted App in Office 365 Dev Preview.  The App has an App Part that get's added to the Home Page of the site.  When I am logged into the site, the App part shows up just fine.  When I go to the site as Anonymous, I am getting an error of "Access Denied: You are not allowed to perform this operation".  This happens when the code is trying to run the Query.   The query is just pulling pictures from a Picture Library.  I can navigate to the pictures Anonymously just fine as well.  Am I missing something in permissions? 


Robert Stark Aurora Sky Technology Partners www.auroraskytech.com robert@aurorskytech.com

Update-----   I have tested this on a On Prem site and it's doing the same thing.  With the on Prem site I made the the "ClientCallableSettings.AnonymousRestrictedTypes" was not an issue as well as removing the "Require Use Remote Interfaces permission".  Still a no go. 

Update -----  So went back and tested again on my On-Prem dev environment.  When I looked at it before the ClientCallableSettings.AnonymousRestrictedTypes came up as NULL.  I must have typed something wrong, because today I ran it and it showed the annoying problem of the GetItems method being blocked.  http://www.codefornuts.com/2010/05/anonymously-accessing-list-items.html

So the question is, if Microsoft wants us to use Apps why is this still blocked for Anonymous users in Office365 using an App?  Anyone?  Microsoft?  Bueller?


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>