Question 390
A team must isolate a broken configuration. Goal: A service-to-service API must grant a separate application permission for automated nightly processing. Symptom: The daemon's app-only token contains no application role required by the endpoint. Which hypothesis most precisely accounts for the observed result?
Explanation
Correct Answer
Correct diagnosis. The permission was defined only as a delegated scope for interactive users. This fault explains the observed failure: The daemon's app-only token contains no application role required by the endpoint. The intended configuration would instead be: Define an application role with allowedMemberTypes Application and assign/consent it to the client service principal.
Incorrect Answers
The application still sends the old unregistered callback URI. The reported symptom instead has this cause: The permission was defined only as a delegated scope for interactive users. The corrective action is: Define an application role with allowedMemberTypes Application and assign/consent it to the client service principal.
The API's delegated scope was never exposed or requested by the calling application. The reported symptom instead has this cause: The permission was defined only as a delegated scope for interactive users. The corrective action is: Define an application role with allowedMemberTypes Application and assign/consent it to the client service principal.
The client requests Graph scopes when calling a separate first-party backend API. The reported symptom instead has this cause: The permission was defined only as a delegated scope for interactive users. The corrective action is: Define an application role with allowedMemberTypes Application and assign/consent it to the client service principal.