New CSOM API for SharePoint Server 2016 – Tenant.GetSiteProperties()

This post is a contribution from Aaron Miao, an engineer with the SharePoint Developer Support team Like myself, many of you may like the SharePoint Online API GetSiteProperties that lists all site collections of a SharePoint Online tenant. Unfortunately, as you know, the method was only available to SharePoint Online, although the document does not…

5

Retrieving thumbnails using Video REST API

This post is a contribution from Vitaly Lyamin, an engineer with the SharePoint Developer Support team The Video REST API provides an ability to discover and interact with videos. We’ve seen a number of issues retrieving thumbnails where the “ThumbnailURL” endpoint returns an endpoint (e.g. /pVid/video.mp4.PNG?VideoPreview=1) that is not suitable for use with an AAD…

1

O365 and OneDrive with ADAL, Microsoft Graph API & Office Add-In

This post is a contribution from Manish Joshi, an engineer with the SharePoint Developer Support team This blog demonstrates creating an Office add-in and retrieving data from SharePoint Online and One Drive within the add-in. The add-in uses ADAL.js for authentication and retrieving access token. In addition it uses Graph API and SharePoint REST API for…

0

Creating SharePoint Calendar All Day or Daily Recurring Event

This post is a contribution from Manish Joshi, an engineer with the SharePoint Developer Support team Whether you are creating a daily recurring event using SharePoint web service lists.asmx or via REST calls, you will need to make sure that TimeZone property is set to 0 otherwise the SharePoint calendar recurring event will be created…

1

Integrating Custom Identity provider with Asp.net and Provider hosted apps to achieve single sign on with Forms Based Authentication

This post is a contribution from Sohail Sayed, an engineer with the SharePoint Developer Support team We demonstrated creating a custom identity provider and integrating it with SharePoint to achieve single sign on in the blog post https://blogs.technet.microsoft.com/sharepointdevelopersupport/2017/07/07/creating-a-custom-identity-provider-and-integrating-with-sharepoint-to-achieve-single-sign-on-with-fba-across-multiple-web-applications/. In this blog we will demonstrate integrating the custom identity provider with Asp.Net web sites and Provider hosted…

0

Creating a Custom Identity Provider and integrating with SharePoint to achieve single sign on with FBA across multiple web applications

This post is a contribution from Sohail Sayed, an engineer with the SharePoint Developer Support team We had a scenario where we needed to use Forms Based Authentication with SharePoint and at the same time have single sign on across multiple web applications. Configuring FBA with SharePoint can be easily achieved through membership and role provider…

0

Fixing issue in making cross domain Ajax call to SharePoint REST service in Chrome

This post is a contribution from Jing Wang, an engineer with the SharePoint Developer Support team Symptom: Remote Ajax Application is configured with Windows Authentication. It makes XMLHttpRequest to SharePoint 2013 Web Service, listdata.svc. Sample code: <!DOCTYPE html> <html> <head> <script src=”http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js” type=”text/javascript” ></script> <script src=”http://code.jquery.com/jquery-1.9.1.js” type=”text/javascript” ></script> </head> <body> <h1>test page</h1> <script type=”text/javascript”> //Ajax…

2

TFS Build configuration issue for SharePoint

This post is a contribution from Sohail Sayed, an engineer with the SharePoint Developer Support team We recently worked on an issue with a customer configuring TFS build for SharePoint 2013 Customer followed the article https://msdn.microsoft.com/en-us/library/ff622991.aspx There seems to be some changes compared to this article for resolving the SharePoint reference assemblies which I have…

0

Fixing Client secret expiration errors for Provider hosted add-in on SharePoint Online.

This post is a contribution from Mustaq Patel, an engineer with the SharePoint Developer Support team You have a  Provider hosted add-in for SharePoint Online hosted in Azure or public facing IIS Server and it fails due to ClientSecret expiry. You will see the below error Invalid issuer or signature. at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.VerifySignature(String signingInput, String signature,…

0

How to get WebsCount and other details from SharePoint online using Tenant Administration API

This post is a contribution from Mustaq Patel, an engineer with the SharePoint Developer Support team Prior to CSOM ver 16.1.4727.1000, we can get count of all sites in tenant in SharePoint Online Tenant using SiteProperties.WebsCount. You can find Powershell sample at below link https://gallery.technet.microsoft.com/office/How-to-get-all-the-tenant-2999c21b With CSOM ver 16.1.4727.1000 and SPO Service dated 12/20/2016 onwards,…

0

Always use File Chunking to Upload Files > 250 MB to SharePoint Online

This post is a contribution from Adam Burns, an engineer with the SharePoint Developer Support team Some developers may have been confused by some of the information available on blogs (and even on MSDN) about the upper limit of file sizes that can be programmatically uploaded to SharePoint Online using the SharePoint REST API. The…

0