Get the PublishProfile of an Azure WebApp using Powershell

This topic contains 1 reply, has 1 voice, and was last updated by Profile photo of Roshan Kumar Singh Roshan Kumar Singh 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34469
    Profile photo of Roshan Kumar Singh
    Roshan Kumar Singh
    Participant

    How can we get the PublishProfile for an Azure WebApp using Powershell? I'm not looking for Get-AzurePublishSettingsFile cmdlet. That gives me the PublishSettings for the whole subscription. I want the PublishSettings only for that particular Azure WebApp.

    We can get this file when we click the following link on Azure Portal.

    The content of the file is something like shown below.

    Can someone please help me get this?
    Thanks.

    #34566
    Profile photo of Roshan Kumar Singh
    Roshan Kumar Singh
    Participant

    I found the solution for this.

    We can use the following cmdlet to get the PublishSettings.
    Get-AzureRmWebAppPublishingProfile

    Hope this helps others who encounter this issue.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.