exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 2 question 70 discussion

Actual exam question from Microsoft's AZ-500
Question #: 70
Topic #: 2
[All AZ-500 Questions]

You have an Azure subscription that contains an app named App1. App1 has the app registration shown in the following table.

You need to ensure that App1 can read all user calendars and create appointments. The solution must use the principle of least privilege.
What should you do?

  • A. Add a new Delegated API permission for Microsoft.Graph Calendars.ReadWrite.
  • B. Add a new Application API permission for Microsoft.Graph Calendars.ReadWrite.
  • C. Select Grant admin consent.
  • D. Add new Delegated API permission for Microsoft.Graph Calendars.ReadWrite.Shared.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
BillBaits
Highly Voted 3 years, 3 months ago
Selected Answer: B
Answer: B The question is about reading and writing ALL user calendars. Delegated permissions only works for the logged in user. https://docs.microsoft.com/en-us/graph/permissions-reference#application-permissions-8
upvoted 36 times
LeDefatman
3 years, 3 months ago
@BillBaits, I think you did not fully understand the documentation on this:| Permission Display String Description Admin Consent Required Microsoft Account supported Calendars.ReadWrite Have full access to user calendars Allows the app to create, read, update, and delete events in user calendars. No Yes
upvoted 1 times
...
BayaliJihad
1 year, 11 months ago
@BillBaits, it's says "he solution must use the principle of least privilege". So Delgated permissions is the correct answer
upvoted 2 times
...
Vikku30
3 years, 3 months ago
Why B. Delegated permissions would be required on user behalf so that basis the scope of permissions the app1 is allowed to schedule the meetings as per user's calendar. Application permission are used by the application native processes , daemons etc. So I don't think so that B is correct option. Option A is correct here.
upvoted 7 times
pentium75
8 months, 1 week ago
It clearly says that the application must be able to read ALL user calendars. With delegated permission, it can only read the calendars that the user who uses it has access to.
upvoted 1 times
...
...
...
jore041
Highly Voted 2 years, 5 months ago
Selected Answer: A
A appears to be the correct answer here. Delegated Calendars.ReadWrite ===Have full access to user calendars and it Allows the app to create, read, update, and delete events in user calendars. Application Calendars.ReadWrite === Read and write calendars in all mailboxes. Allows the app to create, read, update, and delete events of all calendars without a signed-in user.
upvoted 8 times
lili
2 years, 1 month ago
Since it is asking for principle of at least privilege then logically Delegate permission is the right one
upvoted 1 times
...
...
Sabr_
Most Recent 20 hours, 13 minutes ago
Selected Answer: B
Exam question 6th April 2025
upvoted 1 times
...
randy0077
1 week, 1 day ago
Selected Answer: B
B is correct ans: https://learn.microsoft.com/en-us/graph/permissions-reference#application-permissions-8:~:text=Read%20and%20write%20calendars%20in%20all%20mailboxes
upvoted 1 times
...
shanrajesh
1 month, 3 weeks ago
Selected Answer: B
In Exam 07-Feb-2025 52 Questions (5 Case Studies Questions) No Simulation 95% Questions came from exam topics only Kudos to you guys
upvoted 1 times
fregs
1 week, 5 days ago
lovely
upvoted 1 times
...
...
pentium75
8 months, 1 week ago
Selected Answer: B
It clearly says that the application must be able to read ALL user calendars. With delegated permission, it can only read the calendars that the user who uses it has access to. Yes, we must follow the principle of least privilege, but delegated permission would give less privilege than required.
upvoted 1 times
...
workhard
8 months, 3 weeks ago
Selected Answer: B
In order to comply with the principle of least priviledge requirement: "Administrators can configure application access policy to limit app access to specific mailboxes and not to all the mailboxes in the organization, even if the app has been granted the Calendars.ReadWrite application permission." https://learn.microsoft.com/en-us/graph/permissions-reference#calendarsreadwrite
upvoted 2 times
...
xRiot007
8 months, 3 weeks ago
A - delegated perm to ReadWrite is least privilege. We want only specific users using the app to be able to make appointments.
upvoted 1 times
...
93b98ea
8 months, 4 weeks ago
Answer: B Delegated permission would require you granting a user that access as well which is not less priv. If our goal is to let app write/read cal and do it with least priv, we want to only grant the app permission to it and not give it to a user to then delegate.
upvoted 1 times
...
Dimitrios
11 months, 2 weeks ago
Delegated permissions: Also called scopes, allow the application to act on behalf of the signed-in user. Application permissions: Also called app roles, allow the app to access data on its own, without a signed-in user.
upvoted 1 times
...
Ivan80
1 year, 2 months ago
In exam 1/28/24
upvoted 5 times
...
cris_exam
1 year, 2 months ago
Ahh, tricky one. Hmm, after some 20 min reading and some 15 min testing in a lab, I got to the below conclusion. So, "need to read and change/create events in calendar for ALL users" - the easy way out is to go with the App role (which would be choice B). Buut, the least privileged access would be to have Delegated role, which would still be able to read/create those calendar events for all users, but it's going to be un-behalf of the user (having the access limitations of the user - if the user should have any) which is more secure - aka least privileged concept. These 2 articles are covering the topic well: https://learn.microsoft.com/en-us/graph/auth/auth-concepts#microsoft-graph-permissions https://learn.microsoft.com/en-us/graph/permissions-overview?tabs=http Soo, I would go with A here (Delegated role), based on the above reasoning, but take it with a grain of salt, I may be wrong, I hope I'm not cuz that's what I am gonna chose if this question pops up. :D
upvoted 2 times
...
da
1 year, 2 months ago
answer: A
upvoted 1 times
...
[Removed]
1 year, 3 months ago
Calendars.ReadWrite Allows the app to create, read, update, and delete events of all calendars without a signed-in user.
upvoted 1 times
[Removed]
1 year, 3 months ago
This was in application permissions
upvoted 1 times
...
...
Obama_boy
1 year, 4 months ago
Selected Answer: B
To ensure that App1 can read all user calendars and create appointments, while adhering to the principle of least privilege, you should: A. Add a new Delegated API permission for Microsoft.Graph Calendars.ReadWrite. This permission allows the application to read and write to user calendars as the signed-in user, without needing more privileged permissions than necessary. Application permissions would grant the app access without a user context and are typically used for background services or daemons, which is not adhering to the principle of least privilege in this context.
upvoted 1 times
...
wardy1983
1 year, 4 months ago
Answer: B Explanation: Answer: BThe question is about reading and writing ALL user calendars. Delegated permissions only works for the logged in user. https://docs.microsoft.com/en-us/graph/permissions-reference#application-permissions-8 Here you'll find very good explanation about these two types of permissions:https://learn.microsoft.com/en- us/graph/permissions-overview?tabs=http
upvoted 1 times
...
flafernan
1 year, 5 months ago
Selected Answer: B
Option (A) "Add a new delegated API permission for Microsoft.Graph Calendars.ReadWrite" does not allow the application to read and write to all users' calendars, which is a requirement of the question, as the delegated permissions apply only to the context of an authenticated user. Therefore, the correct option to satisfy the read and write requirement for all users' calendars is option (B) "Add a new application API permission for Microsoft.Graph Calendars.ReadWrite".
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago