azure

ajaxExtended call Failed error in azuure bot services

末鹿安然 提交于 2021-02-10 18:12:58
问题 I have encountered "ajaxExtended call failed" error when tried to create a bot using the Azure services. I don't have any SDK bot that I can migrate. Provided the screenshot below. Error Screenshot 回答1: I had the same issue when I was trying to build a Web App Bot with the same name as one I'd recently deleted. I changed the name and it worked. 来源: https://stackoverflow.com/questions/47879679/ajaxextended-call-failed-error-in-azuure-bot-services

New-AzureRmResourceGroup command not working in powershell

女生的网名这么多〃 提交于 2021-02-10 17:47:06
问题 I have logged into my Azure account and selected the appropriate subscription. But it always gives the same error PS C:\WINDOWS\system32> New-AzureRmResourceGroup -Name "AzureMediaServicesSample" -Location "East US" New-AzureRmResourceGroup : Run Login-AzureRmAccount to login. At line:1 char:1 + New-AzureRmResourceGroup -Name "AzureMediaServicesSample" -Location " ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [New

New-AzureRmResourceGroup command not working in powershell

試著忘記壹切 提交于 2021-02-10 17:47:02
问题 I have logged into my Azure account and selected the appropriate subscription. But it always gives the same error PS C:\WINDOWS\system32> New-AzureRmResourceGroup -Name "AzureMediaServicesSample" -Location "East US" New-AzureRmResourceGroup : Run Login-AzureRmAccount to login. At line:1 char:1 + New-AzureRmResourceGroup -Name "AzureMediaServicesSample" -Location " ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [New

Powershell to download ARM template for Azure data factory Pipeline

℡╲_俬逩灬. 提交于 2021-02-10 17:27:41
问题 i have a requirement to create an ADF pipeline using ARM template in powershell and it has to take inputs/validate few things from existing ADF piepline, for that reason i have to download the ARM tempalte for existing ADF pipeline through powershell. Can we do that for single ADF pipeline or multiple ones? Note: existing pipeline is not created through ARM deployment, so i cant use "Save-AzureRmDeploymentTemplate" as i dont have deployment name created when pipeline is created through portal

Powershell to download ARM template for Azure data factory Pipeline

此生再无相见时 提交于 2021-02-10 17:26:00
问题 i have a requirement to create an ADF pipeline using ARM template in powershell and it has to take inputs/validate few things from existing ADF piepline, for that reason i have to download the ARM tempalte for existing ADF pipeline through powershell. Can we do that for single ADF pipeline or multiple ones? Note: existing pipeline is not created through ARM deployment, so i cant use "Save-AzureRmDeploymentTemplate" as i dont have deployment name created when pipeline is created through portal

Getting upload progress using Azure Storage in Android

两盒软妹~` 提交于 2021-02-10 16:39:06
问题 I'm uploading a file in my Android application. The code is pretty simple: private boolean UploadFile(String fileLocation) { try { if (TextUtils.isEmpty(fileLocation)) { return false; } File fSrc = new File(fileLocation); if (!fSrc.exists()) { return false; } boolean bReturn = AzureManager.init(this); if (!bReturn) { return false; } String blobName = fSrc.getName(); InputStream in = new BufferedInputStream(new FileInputStream(fSrc)); CloudBlobContainer container = AzureManager

How to add rewrite rule to Azure web.config so that certain requests are not redirected?

冷暖自知 提交于 2021-02-10 16:19:50
问题 How to add a URL Rewrite rule so that requests from user agents – ReadyForRequest/1.0+(HealthCheck) & HealthCheck/1.0 are not redirected ? I need this so Azure app service health check can work. I found many SO posts about redirecting urls but I can't found SO posts for preventing redirection for certain requests. This post is to add answer to my previous post, but I only want to focus on the real problem because my previous post seems gained attention to the wrong topic. Thanks for any help

Azure Container Instances - .net sdk - change environment variable and restart task container

99封情书 提交于 2021-02-10 16:07:23
问题 I have deployed a container group with just one container in it, with the restart policy as Never. I want to run this container again, but with different environment variables. I see ways to do this in powershell and azure cmdlets, but the Azure .net SDK is not very clear on how this can be achieved. Does anyone have any pointers on how this can be achieved with the Fluent API? This will be useful for me, since the image need not be pulled again, just the container instance restarted. 回答1: I

Accessing an azure vm through Powershell remote from Azure Automation

丶灬走出姿态 提交于 2021-02-10 16:00:46
问题 I am trying to access an azure vm via powershell remoting from azure automation. All our vms inside the subscription do not have public ips (only private ip). I have tried to access by New-Pssession (as below) , but no luck. Could you please let me know what are the other ways to achive this? $connectionName = "AzureRunAsConnection" $SPC = Get-AutomationConnection -Name $connectionName Write-Output $SPC Add-AzureRmAccount -ServicePrincipal -TenantId $SPC.TenantId -ApplicationId $SPC

I cannot make UDP Ports work on a Windows Azure Virtual Machine

心不动则不痛 提交于 2021-02-10 15:53:22
问题 I cannot receive a UDP packet on a Windows Azure Virtual Machine. I have done the following: On the Virtual Machine, via Windows Firewall, I opened up Port 1234* both Inbound and Outbound for both UDP and TCP protocols. I did not add any IP exclusions. The rule should apply to Domain, Private and Public profiles. I am allowing Block Edge Traversal. In the Azure Management Portal, I added Endpoints for my Virtual Machine instance. I added both UDP and TCP protocol endpoints. Public and Private