Cursor - GrokBot - Sharepoint integration

Hello all,

We’re an MSP based in Australia having an issue with a customers SharePoint access.
We’re trying to assist with permitting GrokBot access to read/write however we are facing the below error when attempting to authenticate.

I’ve confirmed it is the correct Tennant and user.

Hi @Taite, that Microsoft page means the application ID in the sign-in link doesn’t exist, so the problem is the link, not the tenant or the user. The ID in your screenshot ends in 67bb074b6c76 and the SharePoint app’s ID ends in 67bf074b6c76, one character off.

Was that link typed or edited by hand, or did it come straight from the dashboard (“I am the admin, continue in Microsoft” or “Copy consent link for an admin”)?

Either way, the Application-level consent link has been failing on Microsoft’s page with a redirect error, a known issue the team is aware of. Delegated permissions works today:

  1. In a private browser window (so Microsoft asks which account to use), sign in to the dashboard and open Integrations.
  2. If SharePoint shows as connected, disconnect it, then click Connect team.
  3. Choose Delegated permissions (recommended), enter the customer’s Tenant ID, then click Sign in with Microsoft.
  4. Sign in with a Microsoft account from that same tenant. An account from another tenant (your MSP login, for example) gets “The Microsoft account is for a different company than this connector.”
  5. At “Enable write permissions?”, click Enable write permissions.