Skip to content

Instantly share code, notes, and snippets.

@nth-block
nth-block / graphapibug.md
Last active Mar 2, 2021
Graph API bug while searching for users
View graphapibug.md

[TOC]

Issue

Filter with startswith method

Request: Graph API query with startswith method and incorrect attribute name (userPrinicipalName - note the 'i' after 'n' in principal)

https://graph.windows.net/<tenant>.onmicrosoft.com/users?api-version=1.6&$filter=startswith(userPrinicipalName,'<username>')

HTTP Response: 400 Bad Request

@nth-block
nth-block / dotnetcheatsheet.md
Created Aug 23, 2017
Dotnet core Cheat Sheet
View dotnetcheatsheet.md

Dotnet Core Cheat Sheet

This cheat sheet is courtesy Ben Day and is available here. This Markdown file is just for easy reference for programmers.

What follows are the excerpts from Ben's blog.

The nice thing about the items on this ‘cheat sheet’ is that they work on Windows, Mac, and Linux. [Note 2/13/2017: Want an example script? Check this out.

Create a new Solution (*.sln)