PdfPrep.com

Which two actions should you perform?

You are developing an application that will use Microsoft Graph.

You attempt to retrieve a list of the groups in your organization by using a URI of https://graph.microsoft.eom/vi.0/groups on behalf of the user.

The application fails. The diagnostic logs show the following information:

* An HTTP 403 Forbidden status code

* An Authorization_RequestDenied error code

* The following error message: "Insufficient privileges to complete the operation."

You need to ensure that the application can retrieve the list of groups. The solution must use the principle of least privilege.

Which two actions should you perform? Each correct answer presents part of the solution. NOTE; Each correct selection is worth one point.
A . In the permission request for the application, request the Group. Read. All permission.
B . Grant tenant admin consent for the Group.Read. All permission.
C . Configure the application to use application permissions.
D . In the permission request for the application, request the Group. Readwrite. All permission

Answer: C,D

Explanation:

Reference: https://docs.microsoft.com/en-us/graph/permissions-reference

Exit mobile version