-
Notifications
You must be signed in to change notification settings - Fork 21.9k
Fix WEBSITES_ENABLE_APP_SERVICE_STORAGE default value #128147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
`WEBSITES_ENABLE_APP_SERVICE_STORAGE` seems to be true by default for Linux containers. I have created Web App on B1 service plan and tested 3 options as follows: 1. SSH to Linux container to run `mount | grep home` with `WEBSITES_ENABLE_APP_SERVICE_STORAGE=false` configuration setting. Result: nothing is returned. 2. SSH to Linux container to run `mount | grep home` with `WEBSITES_ENABLE_APP_SERVICE_STORAGE=true` configuration setting. Result: the mount point information is returned. 3. SSH to Linux container to run `mount | grep home` without `WEBSITES_ENABLE_APP_SERVICE_STORAGE` configuration setting specified. Result: the mount point information is returned. Web App start/stop is required for changes to take effect when conducting tests. I am not sure if it behaves differently on other service plans but I have tested B1 only.
|
@igorpupkinable : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit eb38461: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR corrects the documentation for the WEBSITES_ENABLE_APP_SERVICE_STORAGE setting in Azure App Service Linux custom containers. Based on testing, the default value is true (enabled) rather than false (disabled) as previously documented.
Changes:
- Updated the default behavior description from "disabled" to "enabled"
- Added instructions for disabling persistent storage (setting to
false) - Reorganized the documentation to show disable instructions before enable instructions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| In PowerShell, use the following command: | ||
|
|
||
| ```azurepowershell-interactive | ||
| Set-AzWebApp -ResourceGroupName <group-name> -Name <app-name> -AppSettings @{"WEBSITES_ENABLE_APP_SERVICE_STORAGE"=false} |
Copilot
AI
Jan 27, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The boolean value should be lowercase to match PowerShell conventions. Change 'false' to '$false'.
| In PowerShell, use the following command: | ||
|
|
||
| ```azurepowershell-interactive | ||
| Set-AzWebApp -ResourceGroupName <group-name> -Name <app-name> -AppSettings @{"WEBSITES_ENABLE_APP_SERVICE_STORAGE"=false} |
Copilot
AI
Jan 27, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In PowerShell, the AppSettings parameter expects string values. The boolean value should be quoted as a string: \"false\" instead of false.
|
Can you review the proposed changes? Important: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
WEBSITES_ENABLE_APP_SERVICE_STORAGEseems to be true by default for Linux containers.I have created Web App on B1 service plan and tested 3 options as follows:
mount | grep homewithWEBSITES_ENABLE_APP_SERVICE_STORAGE=falseconfiguration setting. Result: nothing is returned.mount | grep homewithWEBSITES_ENABLE_APP_SERVICE_STORAGE=trueconfiguration setting. Result: the mount point information is returned.mount | grep homewithoutWEBSITES_ENABLE_APP_SERVICE_STORAGEconfiguration setting specified. Result: the mount point information is returned.Web App start/stop is required for changes to take effect when conducting tests.
I am not sure if it behaves differently on other service plans but I have tested B1 in Switzerland North only.