Here is the PowerShell command to list out all the App Services running on an App Service Plan. $asp=Get-AzureRmAppServicePlan -ResourceGroupName “<RGNAME>” -Name “<ASPNAME<” $apps=Get-AzureRmWebApp -AppServicePlan $asp Foreach($app in $apps) { $app.Name }
Read More →Tags: Azure
Function ({name}) Error: The binding type(s) ‘{triggerType}’ are not registered.
I was working with an Azure Function V2 (beta) and got this exception, Figure 1, when I opened the Function in the portal. Error: Function (BlobTrigger-v2) Error: The binding type(s) ‘blobTrigger’ are not registered. Please ensure the type is correct and the binding extension is installed. Figure 1, Function Error: binding extension is installed The […]
Read More →How to create a read only user for a SQL Azure database
I am updating, or should I say, re-coding a website I have from ASP.NET Web Forms (aspx) to ASP.NET Core Razor Pages (chtml). The database it connects to only has a global admin, full access user identity. So I thought that I would fix that and create a need account for read only access. This […]
Read More →Adding groups to an Azure Active Directory domain
I wrote about creating a user in an Azure Active Directory domain or adding users to the Azure Active Directory domain here, but now I want to add some groups. Both of these articles are in preparation for an ASP.NET application I will write as an example for how to implement role based security into […]
Read More →Adding users to an Azure Active Directory domain
I am going to do a self study to learn how to implement authentications and authorization into my ASP.NET application using Azure Active Directory. Pretty much this, but with out using the AUX (OLD) portal (if now possible). Although it has already been done, I like to do it myself and I like to document […]
Read More →What is the current .NET version on an Azure App Service
I have an App Service here (currentdotnetversion) that shows the output of the current (when I wrote this article) .NET version using C# code. Here is a partial code snippet: protected void Page_Load(object sender, EventArgs e) { const string subkey = @”SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\”; using (RegistryKey ndpKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32).OpenSubKey(subkey)) { […]
Read More →How to delete your Azure App Service deployment credential
I wrote this article “Resetting FTP password, using Publish Profile credentials, Azure App Service” here which may be of interest to you as well. In this article, if your goal is to deleted the deployment credential, then you landed on the right page. If you access the Deployment credentials blade shown in Figure 1 you […]
Read More →How to check the version of .NET Core on an Azure App Service
If you would like to check the version of .NET core installed on the Azure App Service platform you can execute the following command from KUDU/SCM, which i discuss further here. Also show in Figure 1. dotnet –version Figure 1, how to check .NET Core version, which .NET Core version is running on Azure App […]
Read More →How to Backup/Restore an Azure App Service using Azure PowerShell
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 Backup/Restore an Azure App Service using BASH
Check out my post here that explains how to start the Cloud Shell and set the subscription. Also checkout how to do the same using Azure PowerShell here. To backup an App Service using CLI / AZ you execute this command, seen in Figure 1. az webapp config backup create –resource-group “BACKUPS” –webapp-name “**********” –container-url […]
Read More →