App Only Policy with Tenant Level Permissions in SharePoint Online

There are various articles explaining what App Only Policies are and how they work with SharePoint Provider Hosted Apps. Two of the good starting points, I found are this msdn blog and this msdn article. The process of setting is App only permission is really simple. All you need to do is change the AppManifest.xml file. <AppPermissionRequests AllowAppOnlyPolicy=”true”> <AppPermissionRequest Scope=”http://sharepoint/content/tenant” Right=”FullControl” /> </AppPermissionRequests> The problem is if you need tenant level permissions for your app, you can’t register the app principal in any of the site collections, like you would do for any other level of permission requirement like Site Collection admin. Steps […]

Continue Reading

SharePoint Hosted Apps in AAM or host-header environments for SharePoint 2013 with ADFS

Hey Guys, Many of you might have started working on or at least looking at Hybrid Implementation of SharePoint 2013 and Office 365, probably using some federated Authentication like ADFS 3.0.You might not have faced any issues when installing and running even basic apps from SharePoint store in Office 365 environment, it is not that easy, well at least not that well documented on how this exactly works for In-Premise sites. In some case, you might have got it working in your lab/dev environment easily, but what if you have a SharePoint site with Host Headers defined in IIS. As […]

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