The Ups and Downs of Connecting to the Microsoft Graph Using the PowerShell SDK

%3CLINGO-SUB%20id%3D%22lingo-sub-2779311%22%20slang%3D%22en-US%22%3EThe%20Ups%20and%20Downs%20of%20Connecting%20to%20the%20Microsoft%20Graph%20Using%20the%20PowerShell%20SDK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2779311%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Microsoft%20Graph%20SDK%20for%20PowerShell%20exists%20to%20help%20developers%20use%20Graph%20API%20calls%20from%20PowerShell.%20It%20works%2C%20but%20like%20anything%20in%20life%2C%20there%E2%80%99s%20a%20right%20way%20to%20connect%20and%20use%20the%20SDK%20and%20a%20wrong%20way.%20In%20this%20article%20we%20explore%20topics%20like%20how%20to%20connect%20to%20the%20right%20tenant%2C%20how%20permissions%20are%20managed%20(or%20not)%2C%20and%20why%20running%20Graph%20SDK%20cmdlets%20interactively%20isn%E2%80%99t%20something%20you%20should%20do%20in%20production.%20Good%20as%20the%20SDK%20is%2C%20Microsoft%20has%20some%20big%20issues%20to%20solve%20to%20address%20some%20obvious%20security%20issues.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fpractical365.com%2Fconnect-microsoft-graph-powershell-sdk%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpractical365.com%2Fconnect-microsoft-graph-powershell-sdk%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2779311%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
MVP

 

The Microsoft Graph SDK for PowerShell exists to help developers use Graph API calls from PowerShell. It works, but like anything in life, there’s a right way to connect and use the SDK and a wrong way. In this article we explore topics like how to connect to the right tenant, how permissions are managed (or not), and why running Graph SDK cmdlets interactively isn’t something you should do in production. Good as the SDK is, Microsoft has some big issues to solve to address some obvious security issues.

 

https://practical365.com/connect-microsoft-graph-powershell-sdk/

0 Replies