Martin Machacek's Avatar

Martin Machacek

@martin-machacek.com

Software engineer | .NET developer | Microsoft 365 developer | Focusing on Microsoft 365, Microsoft Graph #MicrosoftGraph https://martin-machacek.com

19
Followers
58
Following
5
Posts
03.12.2024
Joined
Posts Following

Latest posts by Martin Machacek @martin-machacek.com

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

16.04.2025 08:05 ๐Ÿ‘ 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...

26.02.2025 06:13 ๐Ÿ‘ 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

01.01.2025 19:15 ๐Ÿ‘ 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...

11.12.2024 20:12 ๐Ÿ‘ 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

06.12.2024 14:46 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0