Get the PublishProfile of an Azure WebApp using Powershell

Welcome Forums General PowerShell Q&A Get the PublishProfile of an Azure WebApp using Powershell

This topic contains 1 reply, has 1 voice, and was last updated by

 
Participant
2 years, 8 months ago.

  • Author
    Posts
  • #34469

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

    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.

The topic ‘Get the PublishProfile of an Azure WebApp using Powershell’ is closed to new replies.