Thank you for asking this question on the **Microsoft Q&A Platform. **
You are correct, you can use AAD for user authentication in your application.
However, the authentication process does not come directly from your web app.
You have authenticated your users through your web app using Enterprise Application and App Registration on your Azure AD.
Hope this helps!
----------
Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
NOTE: To answer you as quickly as possible, please mention me in your reply.