The process of building custom solutions for SharePoint Server.
Hi @Nilesh Kodulkar ,
When building SharePoint Framework solutions, you might need to connect to an API secured by using Azure Active Directory (Azure AD). SharePoint Framework allows you to specify which Azure AD applications and permissions your solution requires, and a global or SharePoint administrator can grant the necessary permissions if they haven't yet been granted. By using the AadHttpClient, you can easily connect to APIs secured by using Azure AD without having to implement the OAuth flow yourself.
Please refer to the following document to connect to Azure AD-secured APIs in SharePoint Framework solutions.
https://learn.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.