Loading...

Choosing Between Graph API Requests or Graph SDK Cmdlets

Choosing Between Graph API Requests or Graph SDK Cmdlets

The decision to choose between Microsoft Graph PowerShell SDK cmdlets and Graph API requests can be a challenging one. While some experts recommend the use of Graph API requests for all scenarios to avoid usage of buggy Graph PowerShell SDK cmdlets, others tend to differ.

If you find yourself in such a predicament, it is advisable to start with the Graph PowerShell SDK cmdlets, and only resort to Graph API requests when necessary to simplify the process. Adopting such an approach can help you avoid the complications of working with a potentially bugged Graph PowerShell SDK cmdlet while maintaining simplicity in your usage of Graph API requests.

Deciding between Graph API requests and Graph PowerShell SDK cmdlets generally depends on the specific scenario or task you intend to execute. By taking the time to evaluate what you need to achieve, you can determine which method works best for you, balancing the pros and cons of both sets of tools.

So if you're wondering which to choose between Graph API requests and Graph PowerShell SDK cmdlets, take a cue from this post and start with PowerShell. And as the saying goes, if it works, don't fix it!

The post Choosing Between Graph API Requests or Graph SDK Cmdlets originally appeared on Office 365 IT Pro.

Published on:

Learn more
Office 365 for IT Pros
Office 365 for IT Pros

Office 365 for IT Pros is the world's best book about Office 365 architecture, management, and deployment. Written by a team of highly experienced Microsoft MVPs, Office 365 for IT Pros is refreshed monthly.

Share post:

Related posts

How to Directly Call Microsoft Graph API from Canvas App Power Apps

This video tutorial is dedicated to guiding you on how to directly call Microsoft Graph API from your Canvas App Power Apps. For seamless inte...

10 months ago

Manage directory synchronization settings via the Graph API

Microsoft's latest steps toward replacing the old MSOnline PowerShell module bring new hope to those looking to manage directory synchronizati...

1 year ago

Report on Azure AD group members via the Graph API

This article sheds light on a potential solution for the common challenge of identifying the members of all or certain groups within your Micr...

1 year ago

Managing Azure AD Recommendations via the Graph API

This article is about managing Azure AD Recommendations via the Graph API. With the help of the Graph API, it is possible to enumerate and man...

1 year ago

Microsoft Graph .NET SDK v5 is now generally available 

The Microsoft Graph .NET SDK v5 has been released and is now available for use. With new features and capabilities including retry handling, s...

1 year ago

Report on Azure AD group members via the Graph API

If you're an IT admin working with Microsoft 365, this Graph API based PowerShell script is a powerful tool for examining group member data. B...

1 year ago

Manage directory synchronization settings via the Graph API

If you're looking for a way to manage directory synchronization settings via the Graph API, you're in luck! Microsoft seems to finally be taki...

1 year ago

Microsoft Graph: SharePoint Pages API

Microsoft has announced a new Graph API to enable the creation and management of SharePoint pages and news posts. This upgrade is a part of Sh...

1 year ago

Generate a report of Azure AD role assignments via the Graph API or PowerShell

In this post, the process of generating a report of Azure AD role assignments via the Graph API or PowerShell is explored. The author previous...

1 year ago

Did you know: WhatIf operator for Graph API queries

If you're a PowerShell user, you may be familiar with the -WhatIf parameter - a useful tool that simulates executing a command and describes i...

2 years ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy