r/PowerShell • • Feb 20 '26

News PowerShell 7.6 - RC 1 Release

36 Upvotes

34 comments sorted by

View all comments

Show parent comment

1

u/nkasco Feb 20 '26

The only module you need (want) to work with the Graph API is Microsoft.Graph.Authentication. Just make all your calls with Invoke-MgGraphRequest.

This has nothing to do with that module, though.

1

u/jr49 Feb 20 '26

You don’t even need module that to interact with the API using invoke-restmethod. I’ve recently started using mgraph more for a few things but it’s easier for me to just invoke-restmethod through the API than trying to find the corresponding command and parameters.