docs: fix admin consent "Access Denied" error and missing Enterprise Application#82
Draft
docs: fix admin consent "Access Denied" error and missing Enterprise Application#82
Conversation
…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
ADMIN-INSTRUCTIONS.md
Outdated
| Connect-MgGraph -Scopes "Application.ReadWrite.All" | ||
|
|
||
| # The Work IQ MCP Server resource AppId | ||
| $workIqMcpServerAppId = "b4f5a623-4af7-4cd1-b657-3dbf80327b4e" |
Member
There was a problem hiding this comment.
@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.
Contributor
Author
There was a problem hiding this comment.
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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):
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.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.