Question 2
You need to configure the initial login request in the access token JavaScript script.
Which code segment should you insert at line 01?
const scopes = ['https://graph.microsoft.com/.default'];
const accessTokenRequest = {
};
const scopes = ['https://graph.microsoft.com/Files.Read.All',
'https://graph.microsoft.com/Mail.Send.All'];
const accessTokenRequest = {
scopes: ['https://graph.microsoft.com/Files.ReadWrite',
'https://graph.microsoft.com/Mail.Send']
};
Correct answer: D
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
Scenario: ADatum identifies the following technical requirements for the planned E-invoicing capabilities:
Reference: https://docs.microsoft.com/en-us/graph/permissions-reference