Hi @Jörg Auberg,
It seems that you have a misunderstanding about the multi-tenant app.
When we create an app in App Registrations, we are already asked to choose whether the type of app is single-tenant or multi-tenant.
So in the appsetting.json code, we only need to configure the configuration of an AzureAd. TenantId needs to be modified to common
.
Up to now, not all users of the organization can log in, and the administrator of the other tenant needs to authorize it, please refer to the following document.
Grant tenant-wide admin consent to an application
If the answer is the right solution, 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.
Best regards,
Jason