Tags: PowerShell

How to get a Bearer access token for Azure

Security Cyber Benjamin Perkins

Even though I am not a security expert, it has always interested me.  When I worked on the IIS team some years back, pre Azure and pre Cloud days the protocol mostly used for large corporations was Kerberos.  Initially, troubleshooting those issues would give me sleepless nights, but over some years you begin to see […]

Read More →

How to Backup/Restore an Azure App Service using Azure PowerShell

PowerShell Benjamin Perkins

Use these Azure PowerShell cmdlets: New-AzureRmWebAppBackup Restore-AzureRmWebAppBackup Get-AzureRmStorageAccountKey New-AzureStorageContainerSASToken Don’t forget that this is open source, so you can see what these cmdlets are doing on GitHub here. Note that creating and restoring backups are only available in STANDARD and PREMIUM mode. Check out how to do the same using BASH from the console here. […]

Read More →

How to make an App Setting or Connection String sticky

Azure App Service Benjamin Perkins

I wrote an article here which talk about how to make an app setting or connection string sticky to the slot.  You can make the settings stick using Azure PowerShell. Here are the Azure PowerShell cmdlets required to create an Azure App Service Web App: Login-AzureRmAccount Set-AzureRmContext Set-AzureWebsite (also have a look here at the […]

Read More →