You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Interactive CLI Version: What version of the CLI and modules are installed? (Available with az --version)
2.0.2 OS Version: What OS and version are you using?
Mac OSX 10.11.6 Shell Type: What shell are you using? (e.g. bash, cmd.exe, PowerShell)
Bash
Description
When an app service plan is in resource group A and the web app is in resource group B, the az appservice web config ssl bind|unbind|upload commands will not work as expected. You'll be able to upload, but not bind or unbind any certs.
Judging from how the Azure Portal behaves, the commands should be using the resource group of the app service plan rather than the web app for storing/retrieving the cert, e.g.
SSL certificates are associated with the the app service plan/server farm in
Azure, so use the web app's `server_farm_id` to extract the associated resource
group for any `bind`, `unbind`, or `upload` actions. FixesAzure#2750
SSL certificates are associated with the the app service plan/server farm in
Azure, so use the web app's `server_farm_id` to extract the associated resource
group for any `bind`, `unbind`, or `upload` actions. Fixes#2750
Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Interactive
CLI Version: What version of the CLI and modules are installed? (Available with
az --version
)2.0.2
OS Version: What OS and version are you using?
Mac OSX 10.11.6
Shell Type: What shell are you using? (e.g. bash, cmd.exe, PowerShell)
Bash
Description
When an app service plan is in resource group A and the web app is in resource group B, the
az appservice web config ssl bind|unbind|upload
commands will not work as expected. You'll be able toupload
, but notbind
orunbind
any certs.Judging from how the Azure Portal behaves, the commands should be using the resource group of the app service plan rather than the web app for storing/retrieving the cert, e.g.
azure-cli/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/custom.py
Line 851 in 2793bcd
The text was updated successfully, but these errors were encountered: