I have a problem with the initialization of the SecurityService, I am creating a program with a MultiTenant solution.
In the program.cs file I placed the commands:
and I expected to be initialized at the moment of execution of the command, but this did not happen. In the program I made directly from your templates, the thing works as it should and the method SecurityService.InitializeAsync is executed at that moment, but in my program it does not work.
How is this possible and what could I have done wrong?

This is not how services are initialized.

We don't know what you have done in your program. If you want to use the security service generated by Radzen Blazor Studio you should use everything related to it as well. For example the ApplicationAuthenticationState.