Grokking the AzureAD OAuth2 Implicit Grant Flow


References: Authentication Scenarios for AzureAD The OAuth2 Implicit Grant flow is designed for use by applications which cannot maintain the security of an application registration client secret, typically applications which run in a browser. Unlike the Authorization Code grant flow, the implicit grant flow returns to the client an access token upon successful authentication when the … Continue reading Grokking the AzureAD OAuth2 Implicit Grant Flow

SharePoint Client People Picker Control Helper


The SharePoint people picker client-side control is a bit of an opaque beast, many times when you’re doing a client-side customisation you might want to Add or Remove person or group entities or otherwise examine the list of entities the user has selected. The good news is that there is an API of sorts found in clientpeoplepicker.js, as … Continue reading SharePoint Client People Picker Control Helper

SharePoint Search and the Inconvenient MetadataExtractorTitle Crawled Property


References: Confusing titles and PDF files in SharePoint Search Show more relevant Titles in search results in SharePoint 2013 plus some other improvements SharePoint 2013 Search Configuration for Title I recently came across a problem in SharePoint Search which had me flumuxed for a while, looking at the search results below is displayed the results of … Continue reading SharePoint Search and the Inconvenient MetadataExtractorTitle Crawled Property

Exception “For security reasons DTD is prohibited in this XML document” Connecting to SharePoint Online with CSOM


A few times over the last year or so I’ve come across an error while trying to connect to SharePoint Online using CSOM; Exception calling “ExecuteQuery” with “0” argument(s): “For security reasons DTD is prohibited in this XML document. To enable DTD processing set the Dtd Processing property on XmlReaderSettings to Parse and pass the … Continue reading Exception “For security reasons DTD is prohibited in this XML document” Connecting to SharePoint Online with CSOM

Fixing the Page Reload Issue for SharePoint ASP.NET MVC Provider Hosted Addins


If you launch a SharePoint/Office365 provider hosted addin using a direct URL to the app, rather than using the site contents page/applauncher, either as a dialog or fullpage immersive – you may notice that after your addin displays in the browser, the page is automatically reloaded. First, in this scenario because you [probably] won’t have an access token, nor a context … Continue reading Fixing the Page Reload Issue for SharePoint ASP.NET MVC Provider Hosted Addins