Issue with Accessing D365 Business Central using user_impersonation permission.
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- node.js, typescript
- 領域
- api, authentication
調査の方向性
Begin at the microsoft-graph-client API call and the access-token acquisition described in the report; verify the SDK version 2.2.1, Node 14.19.1, and the token's scp value. Done means reproducing the missing user_impersonation scope or establishing that the issue is outside this SDK with enough configuration or API details for follow-up.
索引モデルが issue の本文から書いたものです。
説明
Bug Report
I am developing Microsoft Teams BOT using yo Teams and Node.
The requirement is to access the Business Central using the BOT to fetch the environment with the user's delegated permission.
I am able to configure the BOT, App service and also able to fetch the currently logged-in users' details.
But the scp parameter of the Access Token is not returning the user_impersonation scope in int. Hence, it's not working for me to access the Business Central.
Here are the screenshot of the permission. enter image description here
Any help is appreciated.
NOTE: I am using the microsoft-graph-client library to perform this API Call.
Prerequisites
- Can you reproduce the problem?
- Are you running the latest version?
- Are you reporting to the correct repository?
- Did you perform a cursory search?
For more information, see the CONTRIBUTING guide.
Description
[Description of the bug or feature]
Console Errors: [Is there any console error]
No
Screenshots: [If applicable, add screenshots to help explain your problem]
Steps to Reproduce
- [First Step]
- [Second Step]
- [and so on...]
Expected behavior: [What you expected to happen]
The response token should have the scp of user_impersonation.
Actual behavior: [What actually happened]
The response token does not have the scp of user_impersonation.
Additional Context
Add any other context about the problem here..
Usage Information
Request ID - Value of the requestId field if you are receiving a Graph API error response
SDK Version - [SDK version you are using]
2.2.1
- Node (Check, if using Node version of SDK)
Node Version - [The version of Node you are using]
14.19.1
- Browser (Check, if using Browser version of SDK)
Browser Name - [The name of Browser that you are using for SDK]
EDGE
Version - [The version of the browser you are using]
117.0.2045.41
- 主要言語
- TypeScript
- スター
- 833
- フォーク
- 240
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoftgraph/msgraph-sdk-javascript のほかの issue
-
status:waiting-for-triage
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
-
Is anyone here? オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · リアクション 1 件 ·
-
Is it really correct that the Javascript version of the graph SDK doesn't offer typed requests? オープンstatus:waiting-for-triage
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
-
status:waiting-for-triage type:bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
microsoftgraph/msgraph-sdk-javascript#1999 · コメント 2 件 · リアクション 1 件 ·
-
status:waiting-for-triage type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
microsoftgraph/msgraph-sdk-javascript の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
usability
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
inmanta/web-console#7367 ·