Microsoft
MS-600 · Question #24
You have an API that is secured by using Azure Active Directory (Azure AD). You are designing a SharePoint Framework (SPFx) solution. Which object should you use to connect to the API from the…
The correct answer is C. AadHttpClient. By using the AadHttpClient, you can easily connect to APIs secured by using Azure AD without having to implement the OAuth flow yourself.
Extend and customize Microsoft 365 with SharePoint Framework
Question
You have an API that is secured by using Azure Active Directory (Azure AD). You are designing a SharePoint Framework (SPFx) solution. Which object should you use to connect to the API from the solution?
Options
- ASPHttpClient
- BHttpClient
- CAadHttpClient
How the community answered
(37 responses)- A8% (3)
- B11% (4)
- C81% (30)
Explanation
By using the AadHttpClient, you can easily connect to APIs secured by using Azure AD without having to implement the OAuth flow yourself.
Topics
#AadHttpClient#Azure AD#API authentication#SPFx
Community Discussion
No community discussion yet for this question.