-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[Doc]: Get-AzWebApp needs to make -ResourceGroupName a required parameter for optimal results #17184
Copy link
Copy link
Closed
Labels
App Servicesaka WebSitesaka WebSitesCXP Attention[Deprecated] The Azure CXP Support Team is responsible for this issue.[Deprecated] The Azure CXP Support Team is responsible for this issue.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedneeds-author-feedbackMore information is needed from author to address the issue.More information is needed from author to address the issue.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Metadata
Metadata
Assignees
Labels
App Servicesaka WebSitesaka WebSitesCXP Attention[Deprecated] The Azure CXP Support Team is responsible for this issue.[Deprecated] The Azure CXP Support Team is responsible for this issue.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedneeds-author-feedbackMore information is needed from author to address the issue.More information is needed from author to address the issue.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Document Link
https://docs.microsoft.com/en-us/powershell/module/az.websites/get-azwebapp?view=azps-7.2.0&viewFallbackFrom=azps-7.2
Issue
The command below with and without the -ResourceGroupName parameter returns different results, yet the document does not specify that the -ResourceGroupName should be a required field.
Demonstration on Expected Results (with the parameter, the FtpsState value showed up correctly)
Demonstration on Actual Results (without the parameter, the FtpsState value showed up null)
Additional findings
Many other values are missing when the -ResourceGroupName parameter is not set. Feel free to check full detailed SiteConfig comparisons running the following commands:
Recommendation
Make the -ResourceGroupName a required parameter so that customers can achieve the desired results.