Issue with Accessing D365 Business Central using user_impersonation permission.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- node.js, typescript
- Ambito
- api, authentication
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 833
- Fork
- 240
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoftgraph/msgraph-sdk-javascript
-
status:waiting-for-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
-
Is anyone here? Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 reazione ·
-
Is it really correct that the Javascript version of the graph SDK doesn't offer typed requests? Apertastatus:waiting-for-triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
-
status:waiting-for-triage type:bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
microsoftgraph/msgraph-sdk-javascript#1999 · 2 commenti · 1 reazione ·
-
status:waiting-for-triage type:bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di microsoftgraph/msgraph-sdk-javascript
Issue simili
-
Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenNSW/nsw-srilanka#497 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
digidem/comapeo-cloud-app#403 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100