PowerShell Module Microsoft Graph

pattifree 46 Reputation points
2022-07-20T13:22:54.197+00:00

Hi,
I have been using powershell graph module in VS code for about a month now. without any problems. Yesterday for some reason I am getting an error message with I try to connect msgraph.
Connect-MgGraph: The data is invalid. Has anyone experienced this? if, so how do I fix it?

Powershell version 7.2.5
Ms Graph version 1.10.0

Regards,
Patti

Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. RajeshKumarMSFT 1,981 Reputation points Microsoft External Staff
    2022-07-21T17:44:21.177+00:00

    Hi @pattifree ,

    Hope you are doing well,

    I have tried to replicate the same issue at my end using Graph PS SDK with Graph version 1.10.0, I am able to connect-MgGraph and get the result without any issue.

    Please check the attached screenshot with the PS cmdlets & Response.

    223190-ps.png

    Please verify connecting again and let us know if you are still facing issue.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

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