
Hi @Henning Eiben
I will recommend you to connect to Azure AD-secured APIs in SharePoint Framework solutions. 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 for more details
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.