@Ronen Thanks for posting your question in Microsoft Q&A, apologize for any inconvenience caused on this.
Based on the information, shared it looks like you are not able to enable the application logging through the portal.
- Can you check whether you have contributor access to the resource group or on this app service or at the subscription level? or what is the permission do you have on the resource or resource group or on the subscription level ?
If you are having contributor access and still not able to enable the application logs through portal. Please choose any of the below alternative methods and try enabling the application logs.
Method 1: Through AzCLI cmdlet az webapp log config cmdlet.
az webapp log config --name <WebAppName> --Resource-group <AppServiceResourceGroupName> --application-logging filesystem
Method 2 : Using Update Diagnostic logs config Rest API
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs?api-version=2023-12-01
Hope this helps, let me know if you are still facing the issues.