Unable to connect to Microsoft.Graph.Intune

Loïc Denis 20 Reputation points

Hi community,

Unable to connect to Microsoft.Graph.Intune today...

I execute the commands below and obtain this error message :

import-module microsoft.graph.intune


AADSTS700016: Application with identifier 'd1ddf0e4-d672-4dae-b554-9d5bdfd93547' was not found in the directory 'XXXXXXXXX'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.

Updates on the module ?

Thanks for your help

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,559 questions
0 comments No comments
{count} votes

Accepted answer
  1. Crystal-MSFT 44,841 Reputation points Microsoft Vendor

    @Loïc Denis, Thanks for posting in Q&A. Based on my researching, I find in May 2024, due to updated authentication methods in the Graph SDK-based PowerShell module, the global Microsoft Intune PowerShell application (client) ID based authentication method is removed.


    For the command "connect-msgraph", it is using the Intune PowerShell application ID (d1ddf0e4-d672-4dae-b554-9d5bdfd93547). So it is affected. You need to create a new registration app with required permission and connect via the new registration app.

    connect-msgraph -clientid <your app id>


    Hope the above information can help.

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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful