Sorry, but we’re having trouble signing you in. AADSTS700016: Application with identifier 'd1ddf0e4-d672-4dae-b554-9d5bdfd93547' was not found in the directory

Sivasankaran J 0 Reputation points
2024-05-23T10:34:22.19+00:00

Whenever I start a new session for connect-MSGraph, it defaults to using the old AppID, even if I’ve updated the AppID in the previous session. Please suggest a way to update the AppID permanently. I am expecting that “connect-MSGraph” session should always use the most recently updated AppID.

1

2

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,376 Reputation points
    2024-05-24T09:55:30.2666667+00:00

    Hi @Sivasankaran J

    If you are using the MS Graph PowerShell SDK, then you should use the Connect-MgGraph cmdlet to connect to the Graph API.

    Hope this helps.

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

    1 person found this answer helpful.

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.