app service
4 TopicsUnable to move Azure App Service to another Subscription
Hello Community, I have a App Service, that has been deployed from the marketplace (Wordpress) with a MySQL DB. I want this whole Service, App Service, App Service Plan and MY SQL DB to be moved to another Subscription. But, i always run in Problems. During the Verification Process i get this Issues: {"code":"ResourceMoveProviderValidationFailed","message":"Resource move validation failed. Please see details. Diagnostic information: timestamp '20200213T100755Z', subscription id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', tracking id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx', request correlation id 'xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx'.","details":[{"code":"ResourceMoveProviderValidationFailed","target":"Microsoft.Web/certificates","message":"{\"Code\":\"BadRequest\",\"Message\":\"Please select all the Microsoft.Web resources from 'Default-Web-WestEurope' resource group for cross-subscription migration. Also, please ensure destination resource group 'XXXX-RG' doesn't have any Microsoft.Web resources before move operation. Here is the list of resources you have to move together: XXXXXXXX-projects (Microsoft.Web/sites)\\r\\n WebApplication38953 (Microsoft.Web/sites)\\r\\n timetrackernewsfeed (Microsoft.Web/sites)\\r\\n XXXXXXXX-blog (Microsoft.Web/sites)\\r\\n XXXXXX (Microsoft.Web/sites). This resource is located in resource group 'XXXXXX_Prod', but hosted in the resource group 'Default-Web-WestEurope'. This may be a result of prior move operations. Move it back to respective hosting resource group\\r\\n Default1 (Microsoft.Web/serverFarms)\\r\\n XXXXXX-blog-Plan (Microsoft.Web/serverFarms)\\r\\n XXXXXXX-projects (Microsoft.Web/serverFarms)\\r\\n DD90514816160753107856EA67F8B067B92F04D3-WestEuropewebspace (Microsoft.Web/certificates)\\r\\n. Please check this link for more information: https://portal.azure.com/?websitesextension_ext=asd.featurePath%3Ddetectors%2FMigration#resource/subscriptions/XXXXX-xxxxx-xxxx-xxxxx-xxxxxxxxx/resourceGroups/Default-Web-WestEurope/providers/Microsoft.Web/sites/xxxxxxxxx-projects/troubleshoot\",\"Target\":null,\"Details\":[{\"Message\":\"Please select all the Microsoft.Web resources from 'Default-Web-WestEurope' resource group for cross-subscription migration. Also, please ensure destination resource group 'xxxxxxx-RG' doesn't have any Microsoft.Web resources before move operation. Here is the list of resources you have to move together: xxxxxx-projects (Microsoft.Web/sites)\\r\\n WebApplication367843 (Microsoft.Web/sites)\\r\\n xxxxxxx(Microsoft.Web/sites)\\r\\n xxxxxx-blog (Microsoft.Web/sites)\\r\\n xxxxxxx I also removed the Certificate and tried to move, but still not working. Any hints or solutions for this Problem? Thanks & Kind Regards, Peter14KViews0likes6CommentsConnect-AzAccount with Managed Service Identity
I'm running PowerShell in the context of an Azure Web App that has a System Managed Service Identity configured. Currently, I can access the Key Vault by doing this: $MsiHeader = @{'Secret' = $env:MSI_SECRET} $VaultResource = "<a href="https://vault.azure.net" target="_blank">https://vault.azure.net</a>" $ApiVersion = "2017-09-01" $VaultUri = "{0}?resource={1}&api-version={2}" -f $env:MSI_Endpoint, $VaultResource, $ApiVersion $VaultHeader = @{ Authorization = "Bearer $($VaultAuth.access_token)" } $Secret = Invoke-RestMethod "<a href="https://MyVault.vault.azure.net/secrets/testsecret?api-version=7.0" target="_blank">https://MyVault.vault.azure.net/secrets/testsecret?api-version=7.0</a>" -Headers $VaultHeader This works just fine for accessing the vault, but is it possible to use the MSI to connect to Azure resources using the Az PowerShell module? If so, how can this be done? I can't quite seem to figure out how to do this properly. I've tried hacking at it like this: $MsiHostName,$MsiPort = $env:MSI_ENDPOINT -replace 'http://' -replace '/MSI/token/' -split ':' $null = Connect-AzAccount -ManagedServiceHostName $MsiHostName -ManagedServicePort $MsiPort -ManagedServiceSecret $env:MSI_SECRET But this doesn't seem to work and I can't find any examples of this on the web. Any help with this is much appreciated!16KViews0likes1CommentWebApp: SSL cert change can trigger WebApp ip change ?
Hello Team, Web Application deployed in S1 app service plan. I have read on the documentation ( Exam Ref 70-532 Developing Microsoft Azure Solutions) that: "Deleting and re-adding the SSL certificate" "will likely yield a new IP address for the website". Why ? Is looks like a very undesirable behavior. Could you please confirm this ? Thanks, MichalSolved1.1KViews0likes1CommentAzure app service - http performance
Hi, as part of a project we have multiple app services running on azure. These services communicate with each other via http. As part of this project, we started running load tests and noticed surprisingly slow results even with, in our opinion, small number of requests. In order to identify performance issues, I created 2 small web apps, 1 using .net and 1 using node.js. Both apps provide a REST API that is called from our load tests running in VS Online. The apps call a single azure function that does a simple Thread.Sleep(1000) and returns, no other processing is done. Trying both vertical and horizontal scaling, I got the following results: Single B1 instance # of requests Avg. response in s .net Node.js 100 1.5 1.7 300 3.1 6.6 500 7.1 23.4 Single B3 instance # of requests Avg. response in s .net Node.js 100 1.7 1.5 300 5.3 4 500 6.5 10.2 3 B1 instances # of requests Avg. response in s .net Node.js 100 1.4 3.5 300 4.6 4.9 500 6.7 15.1 3 B3 instances # of requests Avg. response in s .net Node.js 100 1.4 3.5 300 4.6 4.9 500 7.5 7.2 Looking at these results, it seems like the choice of technology (.net or node.js) does not have a big impact on performance. Generally however, the avg. response times seem very long, especially since there is no real processing or business logic in the applications itself. Of course e.g 500 concurrent requests equals a much larger number of users on the platform but it seems like this should still take a lot less time than is seen in the test results. The configuration of both applications is completely default, so I am wondering if there is anything we should consider to improve performance. This is a rather important issue because we have a strong requirement of response times of less than 3 seconds. Thanks and best regards, Juergen Ziegler1.3KViews0likes0Comments