Understanding the OAuth2 redirect_uri and Azure AD Reply URL Parameters


When you register an Azure AD application, amongst other things you are required to configure a Reply URL, which by default takes its value from the Sign-On URL value you enter during the Azure application registration wizard. The explanation for the Reply URL parameter is in most cases a little vague… From Authentication Scenarios for AzureAD… Reply URL and Redirect … Continue reading Understanding the OAuth2 redirect_uri and Azure AD Reply URL Parameters

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


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 2 list items, 1 with a PowerPoint attachment and 1 without any attachment. The 1 with an attachment is showing an extracted document property as the Title managed property value … 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