Advertisement · 728 × 90

Posts by Martin Machacek

Preview
Model-context-protocol for the Microsoft Graph API in C# In this blog, I will show you how to write your own model-context-protocol (MCP) server for the Microsoft Graph API in C# and how to use the Microsoft Graph C# Core SDK to call any Graph API endpoint.

Have you ever tried to create a local MCP Server in C# for the Microsoft Graph? It's pretty easy.

martin-machacek.com/blogPost/23a...

#microsoftgraph #ModelContextProtocol #Claude

1 year ago 1 0 0 0
Preview
How to get insights for your Graph API requests with the whatif and whatin query parameters In this article, I will show you how to find out what's happening under the hood when you make a request to the Microsoft Graph API.

Have you ever tried to make #MicrosoftGraph request with whatif or whatin query parameters?

Use these parameters to check what the underlying API is called and get more insights

Read more: martin-machacek.com/blogPost/f42...

1 year ago 0 0 0 0
Preview
The Graph API granular permissions for managing users In this blog post, I will reveal all Graph API permissions that allow you to read/write user properties, enable/disable user accounts, update user's phone numbers, and more.

The granular users permissions help you control which user properties applications have access to and reduce the risk of unauthorized or unintended access to user data or operations.

Read more:

martin-machacek.com/blogPost/e04...

#MicrosoftGraph #EntraID

1 year ago 0 0 0 0

You must add the ConsistencyLevel header with the value eventual and use the $count=true query string.

/users?$filter=companyName in ('company 1', 'company 2')&$count=true
/users?$filter=startsWith(companyName,'company 1')&$count=true

learn.microsoft.com/graph/aad-ad...

1 year ago 1 0 1 0
Preview
How to limit application access to emails and calendars with custom application scope for Exchange Online RBAC provider Today, I will show you how to use Exchange Online RBAC provider and custom application scope to limit application access to users emails or calendars.

With the Exchange Online RBAC provider and custom application scope, you can limit access of Entra ID app to users' emails or calendars based on user properties.

Read at martin-machacek.com/blogPost/0ad...

#microsoftgraph #entraid #exchangeonline

1 year ago 2 0 0 0