In this document i describe how to create a Blazor app using Microsoft Identity and Azure Active Directory. This is easily done in Visual Studio, as it is integrated in the project creation.
During the creation you have to select Microsoft Identity as the form of authentication. It is also possible to immediately configure Docker, to run this app in a container. You will shown a configuration screen upon completion of construction. When you configure Microsoft Identity, you will firstly have to select an account created in a Azure Active Directory. Secondly you'll have to create a Azure Active Directory App Registration. Afterwards you get a list of options you don't have to configure.
In Visual Studio it keeps track of the connected services and gives the configuration options upon publishing. This would bee the same as the previous one, but replaces the secrets.json
with an Azure key Vaults option.