Getting invalid_client: AADSTS650057: Invalid resource. The client has requested access to a resource which is not listed in the requested

Open
#461 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, typescript

Research direction

Start with the ServiceNowWidget sample and its README, then review the local app registration setup against the reported AADSTS650057 error. Verify whether the CopilotStudio.Copilots.Invoke permission for the PowerAutomate API is required and confirm that the sample can connect to MCS CEA after configuration.

Written by the indexing model from the issue text.

Description

What sample tool are you using?
https://github.com/microsoft/CopilotStudioSamples/blob/main/ServiceNowWidget

Describe the bug
I have setup this sample and followed the Readme but getting

Image

To Reproduce
Steps to reproduce the behavior:
1.follow steps to run it locally

Expected behavior
Able to connect with MCS CEA

Screenshots

Image

Additional context
Getting this due to app registration need
CopilotStudio.Copilots.Invoke graph API permission (PowerAutomate API)

Dominant language
TypeScript
Stars
797
Forks
491
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/CopilotStudioSamples

All issues in microsoft/CopilotStudioSamples

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.