Share via

The Graph connector agent has failed to register due to insufficient permissions

Kevin Adam 0 Reputation points
2025-09-20T00:39:29.3033333+00:00

The Graph connector agent has failed to register due to insufficient permissions. I have set all the suggested App registration permissions and I can ping the Azure, Entra and Powerapp portals from the SQL Server 2022 Express on Windows 2025 but still no luck.

User's image

Please Help

Microsoft Copilot | Microsoft 365 Copilot | Development

Answer recommended by moderator

Kevin Adam 0 Reputation points
2025-09-23T18:17:41.1366667+00:00

Ok, Removed the Delegated permissions and added them back as Application permissions .... that worked!!!!

Was this answer helpful?


4 additional answers

Sort by: Most helpful
  1. Kevin Adam 0 Reputation points
    2025-09-23T17:42:14.3266667+00:00

    Weird, I can query the App in Microsoft Graph Explorer by Object ID and it even returns the App ID but I cannot query the App by the App ID from the Server with the Connector .....

    Was this answer helpful?

    0 comments No comments

  2. Kevin Adam 0 Reputation points
    2025-09-23T17:20:38.83+00:00

    I added "Cloud Application Administrator" to the Registering Accounts Role and still the same error ...

    Was this answer helpful?

    0 comments No comments

  3. Kevin Adam 0 Reputation points
    2025-09-23T17:09:37.8233333+00:00

    Hello,

    I already granted the App the following API permissions:

    User's image

    And the account used to register the Connector has the following permissions:

    User's image

    Please assist or escalate accordingly.

    Was this answer helpful?

    0 comments No comments

  4. Karan Shewale 2,505 Reputation points Microsoft External Staff
    2025-09-22T06:26:40.9+00:00

    Hi Kevin, the error is coming up because the app you created in Entra ID (Azure AD) doesn’t have the right Microsoft Graph permissions needed by the Graph connector agent. Even if you already added some, the agent specifically requires ExternalItem.ReadWrite.OwnedBy so it can create and update external items, and Directory.Read.All so it can read directory ACLs (needed when connections use Access Control Lists). You’ll need to go into the app registration, add these API permissions under Microsoft Graph, and then make sure you grant admin consent. Without admin consent, the permissions won’t actually take effect. Once that’s done, restart the agent registration and it should work.

    🔗 Relevant Microsoft docs:

    Thanks,  

    Karan Shewale. 

    *************************************************************************  

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback Microsoft Copilot Developer Community Response Feedbacklink. Click here Escalation for Microsoft Teams Developer Community response

     to escalate. 

    Was this answer helpful?

    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.