Protecting Dashboard While On Internet

I have a core project running .net8 and I want to have my dashboard accessible via the internet using Azure AD Authentication.

If it makes any difference, it is a web api project, that has endpoints that do not need to be secured, I just need the /hangfire page or any sub page secured behind the AD.

I am somewhat skilled as a dev, but have not been able to find a working tutorial/guide on how to set this up.

Can someone please assist?