Skip to content

a365 setup permissions mcp #131

@hemantkathuria

Description

@hemantkathuria

Acquiring Microsoft Graph delegated access token via PowerShell (Device Code: False)
ERROR: Failed to acquire Microsoft Graph access token. Error: Write-Error: InteractiveBrowserCredential authentication failed: A window handle must be configured. See https://aka.ms/msal-net-wam#parent-window-handles

Acquiring Microsoft Graph delegated access token via PowerShell (Device Code: False)
ERROR: Failed to acquire Microsoft Graph access token. Error: Write-Error: InteractiveBrowserCredential authentication failed: A window handle must be configured. See https://aka.ms/msal-net-wam#parent-window-handles

ERROR: Failed to create inheritable permissions: 0 NoAuth Body: Failed to acquire token
ERROR: Failed to configure MCP server permissions: [SETUP_VALIDATION_FAILED] Failed to set inheritable permissions: Failed to acquire token. Ensure you have AgentIdentityBlueprint.UpdateAuthProperties.All and Application.ReadWrite.All permissions in your custom client app.

https://entra.microsoft.com/TokenAuthorize?error=invalid_request&error_description=AADSTS500027%3a+Request+denied+by+an+evaluation+policy.+Contact+your+administrator+for+details.+Trace+ID%3a+37e2c6a5-87d5-4a2b-b33a-680300e1d900+Correlation+ID%3a+c3d4f228-15d2-4c16-b672-fbc0c46e5773+Timestamp%3a+2025-12-23+11%3a19%3a03Z&admin_consent=True&state=xyz123

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions