Hi Rachana Pole,
Thanks for raising this. I understand the situation you are facing currently, when things like the "App Service logs" tab are grayed out but the CLI still works. That can definitely seem inconsistent.
Azure portal interface is designed to surface only the options that are compatible with the app's underlying platform and configuration. So, if you are using something like a Linux-based Web App, a Function App, or a service where traditional web server logging isn't fully supported, the portal may gray out those logging options to prevent misconfiguration. However, that doesn't necessarily mean the functionality is completely blocked.
The Azure CLI, on the other hand, interacts directly with the backend API. It doesn't rely on portal UI checks or constraints, which is why you're able to configure logging through CLI commands even when the UI doesn't respond. This is expected behavior, not a bug. It also means that in some cases, the CLI is your best tool for enabling settings that the portal doesn't currently expose due to platform-specific rules.
Please check these references:
- Diagnostic logs overview for App Services
- CLI reference for log configuration
- Supported log types by service
If you are still facing the issue about which logging options apply to your specific app or platform, feel free to share more details about the app type and OS. I’d be happy to help check what’s supported in your case.
Hope it helps!
Please do not forget to click "Accept the answer” and Yes
wherever the information provided helps you, this can be beneficial to other community members.
If you have any other questions or still running into more issues, let me know in the "comments" and I would be happy to help you.