How to change/configure End-to-end TLS encryption of an existing Web App using PowerShell

Aranca, Farimah 0 Reputation points
2024-09-09T15:08:11.79+00:00

I have multiple Web Apps under Azure App Service that currently have End-to-end TLS encryption turned off. Is there a way to change this configuration (from off to on) through PowerShell?

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,463 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,676 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,346 Reputation points
    2024-09-11T06:28:30.6033333+00:00

    @Aranca, Farimah To add further although doc refers to Azure Portal or REST API.

    You can try to invoke the API using Powershell command Invoke-RestMethod.

    References:

    Invoke-RestMethod (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn

    Web Apps - Create Or Update - REST API (Azure App Service) | Microsoft Learn

     

    Couldn’t find any with existing powershell appservice module: Set-AzWebApp (Az.Websites) | Microsoft Learn

    Let me know, if this helps.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.