azure

How can I include additional files in an Azure cloud services package when using VSTS?

爷,独闯天下 提交于 2021-02-10 06:28:08
问题 I have a solution with a web project in it and a cloud project for deploying that web project as a cspkg file to a cloud service. This all works fine. However, I have a file that i don't want in the web project but I do want deployed with the cspkg file into the cloud service. We use VSTS to build and deploy things, and I haven't figured out how to include extra files in the package within this system. I tried a Copy Files step but that doesn't get the file into the package, it does get it

Display data from an AlwaysEncrypted column in a NodeJS app?

跟風遠走 提交于 2021-02-10 06:26:27
问题 I have a SQL Server database in Azure that is accessed by a .NET app and by a NodeJS app . I just applied AlwaysEncrypted to a table column that contains sensitive information. I used Azure Key Vault to store the encryption key. I was wondering if it is possible to display the (decrypted) data in my NodeJS app? A workaround to this would be to expose the data that I want to query through an API endpoint in my .NET app, and then call that endpoint from my NodeJS app, but I'm looking for a more

ARM - How to pass a parameter to commandToExecute with spaces?

你离开我真会死。 提交于 2021-02-10 06:12:19
问题 I am building an ARM template that uses Azure templates for deployment, so that it can be used as 'stock' image for users to deploy. One of the requirements is that an end user inputs the computer description as a parameter. Parameter: "psVariable": { "value": "My Super Awesome Description" } I'm using a Custom Script Extension to execute a PowerShell script that changes the computer description. PowerShell Script: Param ( [string] $psVariable ) New-ItemProperty -Path "HKLM:\SYSTEM

ARM - How to pass a parameter to commandToExecute with spaces?

拟墨画扇 提交于 2021-02-10 06:11:34
问题 I am building an ARM template that uses Azure templates for deployment, so that it can be used as 'stock' image for users to deploy. One of the requirements is that an end user inputs the computer description as a parameter. Parameter: "psVariable": { "value": "My Super Awesome Description" } I'm using a Custom Script Extension to execute a PowerShell script that changes the computer description. PowerShell Script: Param ( [string] $psVariable ) New-ItemProperty -Path "HKLM:\SYSTEM

REST Api to Azure blob storage using Access key

与世无争的帅哥 提交于 2021-02-10 05:56:07
问题 We are trying to access the blobs from azure blob storage without using the Azure SDK, we are trying to access through the shared key by Azure REST API, for that we need to generate the Authorization header, but when I try to create a signature from the Access key I am getting the following error "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature." "The MAC signature found in the HTTP request 'key hash' is not

Azure service bus access using Java SDK, Connectivity Mode

寵の児 提交于 2021-02-10 05:39:15
问题 There are several examples of configuring the service bus environment to use http/https with C#, using the call: ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Http; My question is - can and how do I do this via a java client? 回答1: The newer versions of the SDK (1.0 and later) do not support HTTP connectivity (AMQP only), and the older ones do not support AMQP (HTTP only). As a result there's no "need" for connectivity mode settings. The Java SDK is AMQP only. If http is

Error logging in python not working with azure databricks

左心房为你撑大大i 提交于 2021-02-10 05:37:11
问题 Question related to this problem was not answered by anyone I tried implementing error logging using python in azure data bricks. If i try the below code in python(pycharm) it is working as expected. But when i try the same code in azure databricks(python) it is not creating a file and not writing any contents into the file. I tried creating a file in azure data lake gen2. i have given the path with mount point of data lake store gen2. Can you please help why the python code is not working as

Azure Pipelines agent proxy settings not working as expected

痴心易碎 提交于 2021-02-10 05:19:11
问题 When configuring a local build agent on a Windows 2016 server, I use the following proxy config settings: .\config.cmd --proxyurl http://192.3.4.5:8080 --sslskipcertvalidation This allows the build server to connect to Azure DevOps behind the proxy without issues, however the powershell build is having trouble connecting out to the internet. I solved this by setting an environmental variable at the beginning of the build command as such: $env:http_proxy = "192.3.4.5:8080" The final issue is a

Azure Search Indexer cannot retrieve a GeographyPoint filed from a document in DocumentDB

两盒软妹~` 提交于 2021-02-10 05:02:08
问题 I'm having an issue while trying to index a document stored in a DocumentDb collection. The datasource of the indexer was defined with a custom SQL to retrieve the changed documents. The document I want to index has a property called LocationGP which is a Microsoft.Spatial.GeographyPoint, and is mapped to a field of the index with the same name and defined as DataType.GeographyPoint The error I get when trying to create the indexer is: Column 'LocationGP' is of type JObject that is not

Azure Search Indexer cannot retrieve a GeographyPoint filed from a document in DocumentDB

偶尔善良 提交于 2021-02-10 05:01:47
问题 I'm having an issue while trying to index a document stored in a DocumentDb collection. The datasource of the indexer was defined with a custom SQL to retrieve the changed documents. The document I want to index has a property called LocationGP which is a Microsoft.Spatial.GeographyPoint, and is mapped to a field of the index with the same name and defined as DataType.GeographyPoint The error I get when trying to create the indexer is: Column 'LocationGP' is of type JObject that is not