A dune-grass nursery portal reads the signed-in grower’s profile with User.Read, while a nightly job must read every grower as the app itself with User.Read.All. How should the developer map those permission types on the identity platform?
Select an answer to reveal the explanation.
Short Explanation
Signed-in grower? That’s delegated—permissions ride along as scopes. Nightly job with no user? That’s application permissions showing up as roles.
Full Explanation
Delegated permissions authorize an app to act on behalf of a signed-in user and appear in the access token’s scp claim. Application permissions authorize the app identity itself and appear in the roles claim; they typically require admin consent. Matching the permission type to whether a user is present is a core Microsoft identity platform choice for Graph and custom APIs.