azure

Calling a PowerShell script from Azure batch custom activity using PowerShell and application environment variable

怎甘沉沦 提交于 2021-02-20 03:01:12
问题 I've been slowly working out how to call a PowerShell script to transform IIS logs using LogParser 2.2. I've settled on using Azure Data Factory Batch Service Custom Activity to run the PowerShell script. I've been able to figure out how to address many of the file path issues that arise in running PowerShell from within Azure Custom Batch Activity, but I can't figure this one out. Currently I'm just trying to print via Write-Host the environment variable AZ_BATCH_APP_PACKAGE

why Extra subnet for VNET integration for app services

一世执手 提交于 2021-02-20 02:55:06
问题 Why do we have to create a new subnet or add the app service to an empty subnet in our vnet? I don't understand the reasoning since I'm trying to use my app service (function app) as a reverse proxy to access the resources in the vnet. 回答1: By default, the Azure function is a PaaS as the other Azure Platform-as-a-Services that have inbound and outbound traffic over the Internet. We can host our applications without the need to worry about the maintenance of the servers and their operating

How can I check-in files in TFS with azure pipelines

廉价感情. 提交于 2021-02-20 02:45:51
问题 I'm trying to automate a local deployment script that builds a javascript bundle and then, with the help of TFS command line tool, it checks-in the bundle into a TFS repository. Right now I have the pipeline building the bundle but I still need a last Task that puts the created files into TFS. It is important to note that the TFS is in another project. Is there a Taks that does check-ins to TFS? If not, what alternatives do I have without using a custom script for that? 回答1: I wrote a little

How do I trigger the admin_consent flow using IdentityServer 4 for a multi-tenant app?

半腔热情 提交于 2021-02-20 01:32:36
问题 I'm building a POC multi-tenant app using IdentityServer 4 on asp.net core as the middleman between my client app and Azure Active Directory using openIdConnect. Is there a way to trigger the admin_consent flow when a user logs in from a new AAD tenant which is not yet authorized to use the app? This Azure sample shows how to perform a manual consent using a controller on the client site which builds the AAD Uri from scratch, but I'm shooting for an experience where a user from a new

Could not load file or assembly after publishing to Azure app service

邮差的信 提交于 2021-02-19 23:21:37
问题 I am suddenly seeing this error when running my app (published on Azure app service: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. at SharePointLibrary.SPClient.GetAllUsers() at ADVWKSP.Managers.UserManager.GetUsers() in C:\Users\bassie\source\repos\TFS\ADVWKSP\ADVWKSP\Managers\UserManager.cs:line 21 It runs fine on my machine, and it used

What is the easiest way to pull data from a blob and load it into a table in SQL Server?

半城伤御伤魂 提交于 2021-02-19 09:07:37
问题 I have hundreds of zipped files sitting in different folders, which I can access using MS Storage Explorer. I just setup a SQL Server DB in Azure. Now I am trying to figure out how I can pull data from each file in each folder, unzip it, parse it, and load it into tables. The data is coming in daily, so the folders are named '1', '2', '3', etc. '31', for the days of the month. Also, I have monthly folders '1' through '12', for the 12 months of the year. Finally, I have folders named '2017',

What is the easiest way to pull data from a blob and load it into a table in SQL Server?

冷暖自知 提交于 2021-02-19 09:05:25
问题 I have hundreds of zipped files sitting in different folders, which I can access using MS Storage Explorer. I just setup a SQL Server DB in Azure. Now I am trying to figure out how I can pull data from each file in each folder, unzip it, parse it, and load it into tables. The data is coming in daily, so the folders are named '1', '2', '3', etc. '31', for the days of the month. Also, I have monthly folders '1' through '12', for the 12 months of the year. Finally, I have folders named '2017',

az storage account network-rule not working for Microsoft Hosted agent(Azure DevOps)

谁都会走 提交于 2021-02-19 09:01:38
问题 I have to delete all the files in azure blob storage(specific container) automatically via azure release pipelines. So I have configured a task to get the IP address of Microsoft agent dynamically and add the IP address into blob Firewall. Below script working successfully sometimes, but I'm not able to see the IP in the Firewall list. Also same script is failing many times and throwing a error like The request may be blocked by network rules of storage account. Please check network rule set

az storage account network-rule not working for Microsoft Hosted agent(Azure DevOps)

雨燕双飞 提交于 2021-02-19 09:01:19
问题 I have to delete all the files in azure blob storage(specific container) automatically via azure release pipelines. So I have configured a task to get the IP address of Microsoft agent dynamically and add the IP address into blob Firewall. Below script working successfully sometimes, but I'm not able to see the IP in the Firewall list. Also same script is failing many times and throwing a error like The request may be blocked by network rules of storage account. Please check network rule set

Copy and Extracting Zipped XML files from HTTP Link Source to Azure Blob Storage using Azure Data Factory

徘徊边缘 提交于 2021-02-19 08:48:05
问题 I am trying to establish an Azure Data Factory copy data pipeline. The source is an open HTTP Linked Source (Url reference: https://clinicaltrials.gov/AllPublicXML.zip). So basically the source contains a zipped folder having many XML files. I want to unzip and save the extracted XML files in Azure Blob Storage using Azure Data Factory. I was trying to follow the configurations mentioned here: How to decompress a zip file in Azure Data Factory v2 but I am getting the following error: