Search This Blog


Thursday, June 18, 2015

Accessing Application Page from SharePoint Anonymous Site

We can access the Application page in SharePoint anonymous site. If we do the following changes in the Application page, SharePoint won’t ask for any credentials.

·         By default, the page is inherited from LayoutsPageBase. Change the inheritance from “LayoutsPageBase” to “UnsecuredLayoutsPageBase”.
·         Next, we need to override a property of the UnsecuredLayoutsPageBase, to allow the anonymous access. Be sure to change the ‘getter’ to return true

protected override bool AllowAnonymousAccess { get { return true; } }

Example :


Sunday, May 17, 2015

Thursday, April 23, 2015

Setup and Manage Single Sign-On between On-Premise AD and Office 365

Set up and manage single sign-on

When you set up single sign-on (also known as identity federation), your users can sign in with their corporate credentials to access the services in Microsoft Office 365 for enterprises. As part of setting up single sign-on, you must also set up directory synchronization. Together, these features integrate your on-premises and cloud directories.


Prepare for single sign-on 
Learn about the benefits of single sign-on and make sure you meet the requirements before you set it up. 
Learn how to prepare for single sign-on


Plan for and deploy Active Directory Federation Services 2.0 
Work through the in-depth documentation to deploy and configure AD FS 2.0. 
Follow instructions for planning and deploying AD FS 2.0 for single sign-on



Install the Windows Azure Active Directory Module for Windows PowerShell 
Download the Windows Azure Active Directory Module for Windows PowerShell, which includes cmdlets to establish the trust relationship between your AD FS 2.0 server and Office 365 for each of your domains that use single sign-on. 
Learn about installing and configuring the Windows Azure Active Directory Module for Windows PowerShell


Windows 32-bit version 
Windows 64-bit version



Verify additional domains 
Go to the domains page to verify any additional domains that don't use single sign-on.



Prepare for directory synchronization 
Check prerequisites, including computer requirements and user permissions. 
Learn how to prepare for directory synchronization


Activate Active Directory® synchronization 
Activate directory synchronization to use your on-premises Active Directory to add or remove users and security groups and sync to Microsoft Office 365. After you activate directory synchronization, synchronized users can only be edited in your on-premises Active Directory. Learn more


You must add and verify a domain before you can activate Active Directory synchronization.



Install and configure the Directory Sync tool 
Download the Directory Sync tool (64-bit only) and then configure it to set up synchronization from Active Directory to Microsoft Office 365. 
Learn about installing the Directory Sync tool




Verify directory synchronization 
Make changes to your on-premises Active Directory and verify those changes in Microsoft Office 365. 
Learn how to verify directory synchronization



Activate synchronized users 
Go to the users page, select the "Unlicensed users" view, select all of those users, and then click "Activate synced users".


Verify and manage single sign-on 
Sign in to Microsoft Office 365 with your corporate credentials to verify that single sign-on is working. Then learn how to maintain single sign-on and directory synchronization. 
Learn how to verify and manage single sign-on 
Learn how to manage directory synchronization

Saturday, April 18, 2015

SharePoint 2013 – Must knows

How does SharePoint 2013 Improve Performance?

 SharePoint 2013 Introduces Minimal Download Strategy and Distributed Cache Service to Improve Page Load; and Shredded Storage to Improve Storage required for saving files.


 What is Minimal Download Strategy?

 Minimal Download Strategy in SharePoint 2013 improves rendering performance when browsing content where large parts of the page do not change providing a more fluid navigation experience. For example when navigating between a site's home page and Shared Documents page only the Content that has changed between the source and destination page (controls and placeholders in the content area) are downloaded and Url subsequently updated where the chrome is persisted.


What is Distributed Cache Service?

 The Distributed Cache service provides caching features in SharePoint Server 2013. The microblog features and feeds rely on the Distributed Cache to store data for very fast retrieval across all entities. The Distributed Cache service is built on Windows Server AppFabric, which implements the AppFabric Caching service. Windows Server AppFabric installs with the prerequisites for SharePoint Server 2013.


 What is Shredded Storage?

 With Shredded Storage feature enabled, every document and the Changes made to the document, is stored in SQL as multiple "Shredded BLOBS". Whenever a new Version of a document is Created, only the BLOBs of the document that Corresponds to the Change are saved as opposed to the entire document as a new version. This feature helps to lower down the amount of storage required for saving files.


 How does Shredded Storage Work?

 Every Document in SharePoint 2013 is now stored as multiple "shredded BLOBS" in the new "DocStreams" data table. Whenever a new Version of a document is created, a new Record is written in this data table that contains only the "Shred BLOB" of the original document that corresponds to the Change, merged with the new Changes. In other words a new Blob with Changes is added as a new row in the table. Each BLOB that gets added Contains a numerical Id that represents the source BLOB. At the end it is the job of BLOB Index to keep the track of Blobs and to create a full file with the Combination of entries that point to the unchanged shreds of the previous version(s) and the entries that point to the newly added Changed shreds.


 What is the new Analytics Processing Component in SharePoint 2013

 The Analytics Processing Component in SharePoint Server 2013 analyzes both the Content and the way users interact with it. The results from the analysis are added to the items in the search index to be used by Search Webparts, Recommendation Reports, Most Popular Items reports and other WebParts.


 What analyses are done by Analytics Processing Component in SharePoint 2013

The Analytics Processing Component runs two main types of analyses: Search analytics and Usage analytics. Search analytics analyzes content in the search index, and usage analytics analyzes the user actions.

Tuesday, April 14, 2015

Easy steps to SharePoint Farm Configuration

Powershell Command to get size of all Site Collections

Get-SPSite http://sharepoint

Get-SPSite | select url, @{label="Size in MB";Expression={$}} | Sort-Object -Descending -Property "Size in MB" | Format-Table –AutoSize