简体   繁体   中英

Azure Powershell Get-AzWebAppSlot AppSettings is empty always

I'm trying to Get-AzWebAppSlot that works fine. It returns the data, but AppSettings are always empty. I've checked the slot on portal azure, and it has the app settings.

Here the code: 图像

Here is the result在此处输入图像描述

Here is the app settings on portal azure在此处输入图像描述

Make sure you are using the -Slot parameter.

Get-AzWebAppSlot -ResourceGroupName "test" -Name "mywebapp" -Slot "Staging"

https://learn.microsoft.com/en-us/powershell/module/az.websites/get-azwebappslot?view=azps-6.4.0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM