connect-msgraph connect-mggraph

Taas Daamde 0 Reputation points
2023-11-10T14:07:06.19+00:00

there are the commands: connect-msgraph and connect-mggraph.

Can anyone explain in 6 ( or less ) short sentences why the two commands do and why there are two of them?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 119.6K Reputation points MVP Volunteer Moderator
    2023-11-10T18:22:35.3933333+00:00

    Connect-MGGraph, from the official Graph SDK for PowerShell module is what you should use. Connect-MsGraph is likely from a different module. The Intune module has a similar cmdlet, but as you can expect, said module is used for Intune management only, not for general Graph queries.

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.