Category Archives: sharepoint

Azure Active Directory B2C – Providing sign-up and sign-in to users with Microsoft Accounts

Create a Microsoft account application To use Microsoft account as an identity provider in Azure Active Directory (Azure AD) B2C, you need to create a Microsoft account application and supply it with the right parameters. You need a Microsoft account … Continue reading

Posted in sharepoint | Leave a comment

Azure Active Directory B2C- Register your application

Navigate to the B2C features blade If you have the B2C features blade pinned to your Startboard, you will see the blade as soon as you sign in to the Azure portal as the Global Administrator of the B2C tenant. You can … Continue reading

Posted in sharepoint | Leave a comment

Update SharePoint Online userprofile properties – Powershell

The below powershell script is to update a user profile property called ‘CostCenter’ and you can replace with your property and update it. Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll” Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll” Add-Type … Continue reading

Posted in sharepoint | Leave a comment

Users unable to access sub folders in SharePoint 2013 – Limited Access issue

This issue happens when you migrate your site from SharePoint 2010 to SharePoint 2013 and you have Limited Access users in your site. My scenario was below. Problem I have a sharepoint 2013 site and a document library inside. Have … Continue reading

Posted in sharepoint, SharePoint 2013 | Tagged , , | Leave a comment

Using Microsoft Azure Active Directory for SharePoint 2013 authentication

Summary: Use the Azure Access Control Service to authenticate your SharePoint Server 2013 users with Azure Active Directory. This article explains how you can use the Azure Access Control Service to authenticate your SharePoint 2013 users with Azure AD, instead … Continue reading

Image | Posted on by | Leave a comment

Login to SharePoint 2013 using Google Account

This post let you login to SharePoint onpremise application using google account as trusted identity provider / Authenticate SharePoint using Google account/ Google to Authenticate SharePoint 2013 application. Step 1: Create Google Account Go to the Google developers console   Sign in … Continue reading

Posted in Azure ACS, sharepoint | Tagged , , | 7 Comments

SharePoint Missing workflow history – after migration(Resolved)

I had an issue with workflow status page after migrating SharePoint 2007 -2013.The history is available in Workflow history list but it does not show in workflow status page. Solution; Just do a SystemUpdate() for all the items in workflow … Continue reading

Posted in sharepoint | Tagged , | Leave a comment

Migrating SharePoint ListItems

private void StartMigration() { StartProcess(txtSiteUrl.Text); } void StartProcess(string srcUrl) { Start_Export(srcUrl); } private void Start_Export(string srcUrl) { #region “Main” string SourceSiteName = srcUrl.Substring(srcUrl.LastIndexOf(“/”) + 1); string sourceUrl = srcUrl; string destURL = srcUrl; if (!string.IsNullOrEmpty(sourceUrl) && !string.IsNullOrEmpty(destURL)) { string secAdminID … Continue reading

Posted in sharepoint | Leave a comment

Set SharePoint Site Collection to Offline/ReadOnly

Offline SPSiteAdministration siteAdmin = new SPSiteAdministration(site.Url); siteAdmin.ReadLocked = true; siteAdmin.Dispose();   ReadOnly SPSiteAdministration siteAdmin = new SPSiteAdministration(newSite.Url); siteAdmin.ReadOnly = true; siteAdmin.Dispose();

Posted in sharepoint | Leave a comment

Adding Datasheet view in SharePoint2013

Add below to DatSheetvw.aspx.cs /*start*/ public partial class DatasheetV : LayoutsPageBase { protected PlaceHolder plActiveX; protected LinkButton linkList; protected void Page_Load(object sender, EventArgs e) { } protected override void CreateChildControls() { base.CreateChildControls(); StringBuilder stringBuilder = new StringBuilder(); try { string … Continue reading

Posted in sharepoint | Leave a comment