@Siegfried Heintze Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this,
Based on the shared information I have understand that you are trying to implement the Azure AD authentication in Azure static Apps.
In Azure Static web Apps all the configurations like (Routing, Authentication, Authorization etc.,) should be defined in the
staticwebapp.config.json file. Also, static web Apps supports both built-in authentication and custom identity provider authentication like (Microsoft Entra ID, Apple, Google etc.,).
Refer to the below documentation for more information about configuring authentication in static webapps:
- Configure Built-In Authentication
- Configure Custom Authentication in static WebApps.
- Configure Authentication in Static WebApps using AzureAD B2C.
Feel free to reach back to me if you have any further questions on this.