SharePoint Framework - Call Azure AD Secured Function

Azure functions are helpful to perform processing outside of SharePoint. In the previous article Secure Azure Function with Azure AD, we had explored an option to secure Azure function with Azure AD. In this article, we will explore on how call secured Azure function with Azure AD from SharePoint framework webpart.