Why ProvisioningState is empty

MoTaar 80 Reputation points

I've run this commend to add a front port:

$frontendportHTTPS = New-AzApplicationGatewayFrontendPort `
>>  -Name myfrontendportHTTPS `
>>  -Port 443

and when I tried to call $frontendportHTTPS

I got empty field under ProvisioningState

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
845 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,556 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 28,006 Reputation points Microsoft Employee


    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I suggested,

    You informed, your code snippet required you to use "Add-AzApplicationGatewayFrontendPort" and this resolved the issue.



    0 comments No comments

0 additional answers

Sort by: Most helpful