Home » Microsoft » MS-600 » Which code segment should you insert at line 01
You need to configure the initial login request in the access token JavaScript script.
Which code segment should you insert at line 01
A. const scopes = [‘https://graph.microsoft.com/.default’];
B. const accessTokenRequest = { };
C. const scopes = [‘https://graph.microsoft.com/Files.Read.All’,
https://graph.microsoft.com/Mail.Send.All’]; D. const accessTokenRequest = { scopes: [‘https://graph.microsoft.com/Files.ReadWrite’,
https://graph.microsoft.com/Mail.Send’] };
Correct Answer: D
Explanation/Reference:
Explanation:
Scenario: ADatum identifies the following technical requirements for the planned E-invoicing capabilities:
Ensure that all operations performed by E-invoicing against Office 365 are initiated by a user. Require that the user authorize E-invoicing to access the Office 365 data the first time the application attempts to access Office 365 data on the user’s behalf.
Reference: https://docs.microsoft.com/en-us/graph/permissions-reference