Skip to content

docs: fix admin consent "Access Denied" error and missing Enterprise Application#82

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/update-admin-consent-instructions
Draft

docs: fix admin consent "Access Denied" error and missing Enterprise Application#82
Copilot wants to merge 3 commits intomainfrom
copilot/update-admin-consent-instructions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 19, 2026

The Work IQ CLI app registration recently gained permissions targeting the Work IQ Tools MCP Server resource, whose service principal is not auto-provisioned in customer tenants. This causes the Quick Start admin consent URL to fail with an Access Denied / AADSTS error, and Work IQ never appears in Enterprise Applications.

Changes

  • Quick Start — known issue callout: Explains the root cause and provides an alternative consent URL scoped to only Microsoft Graph permissions (whose service principal is universally present):

    https://login.microsoftonline.com/{tenant-id}/adminconsent?client_id=ba081686-5d24-4bc6-a0d6-d034ecffed87&scope=Sites.Read.All%20Mail.Read%20People.Read.All%20OnlineMeetingTranscript.Read.All%20Chat.Read%20ChannelMessage.Read.All%20ExternalItem.Read.All
    
  • Troubleshooting table: Two new rows covering the Access Denied consent error and the missing Enterprise Application symptom, pointing users to the alternative consent URL as the workaround.

Note: A PowerShell script to provision the Work IQ MCP Server service principal and enable the full consent URL will be added in a future update once all required resource AppIds are confirmed.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI linked an issue Mar 19, 2026 that may be closed by this pull request
…missing Enterprise Application issues

Co-authored-by: darrelmiller <447694+darrelmiller@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Work IQ tenant enablement issues docs: fix admin consent "Access Denied" error and missing Enterprise Application Mar 19, 2026
Copilot AI requested a review from darrelmiller March 19, 2026 12:06
Connect-MgGraph -Scopes "Application.ReadWrite.All"

# The Work IQ MCP Server resource AppId
$workIqMcpServerAppId = "b4f5a623-4af7-4cd1-b657-3dbf80327b4e"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot This is not the right resource AppId. Remove the script for the moment we will add it later when we get all the required resourceAppId's together.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the provisioning script and updated the troubleshooting table and Quick Start callout to remove all references to it. The note now says a script will be provided in a future update. (a49d054)

… script

Co-authored-by: darrelmiller <447694+darrelmiller@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Work IQ Tenant Enablement Issues

2 participants