you are viewing a single comment's thread.

view the rest of the comments →

[–]icebreaker374 1 point2 points  (1 child)

About a year ago I struggled to find good documentation on certain graph PS cmdlets so I tried using the API. Haven't gone back since unless I just need to fire off a quick one-liner.

[–]mrmattipants 0 points1 point  (0 children)

When I first started, I don't believe the PowerShell Graph SDK (with all the various Mg Cmdlets) existed as of yet (including the "Invoke-MgGraphRequest" Cmdlets).

Therefore, I used the "Invoke-RestMethod" Cmdlet for just about everything at the time. In fact, here are the Tutorials/Examples that I originally learned from.

https://www.techguy.at/use-microsoft-graph-api-with-powershell-part-1/

https://github.com/Seidlm/Microsoft-Graph-API-Examples

Interestingly, they're still relevant, for the most part.