azure

Azure Log analytics - access control to view only specific applications

末鹿安然 提交于 2021-02-11 12:38:01
问题 We are currently using splunk to store the logs and planning to migrate to Azure and would be using log analytics. In splunk, application team will be granted access only to their logs however I don't know how can I grant access to the application support team to view only the specific set of logs on azure log analytics. How do I manage access control to view only specific application logs in Azure log analytics? 回答1: So if a person or a group has access to only that particular resource and

How to configure an Azure website so that only specific users can access it

╄→尐↘猪︶ㄣ 提交于 2021-02-11 12:33:42
问题 I'm slowly getting up and running with ASP.NET Core web applications and I want to put my project online in order to be able to use it (and therefore know how to improve it) - also with mobile devices. But since I am at a learning stage where I am not aware of all the measures I should take to make it bullet-proof I want to secure my web application against possible misuse (at this point I have a pay-as-you-go plan and the usage is that low that it costs me only about one dollar per month). I

Azure pipelines encountered error(s) while parsing pipeline YAML (Unique Job Name)

对着背影说爱祢 提交于 2021-02-11 12:33:07
问题 In my azure devops project, I have created a pipeline using template. This is the main yaml files for my build pipeline name: Test-$(Date:yyyyMMdd)$(Rev:.r) resources: repositories: - repository: api type: git name: porject/api ref: master - repository: front type: git name: project/front ref: master - repository: strapi type: git name: project/strapi ref: master trigger: branches: include: - master pool: vmImage: 'ubuntu-latest' workspace: clean: all variables: - name: workingDir value:

https:/3dspace/F5Health.html log in Azure application insights

时光毁灭记忆、已成空白 提交于 2021-02-11 12:32:36
问题 I have created one Node.Js application and I am using Azure application insights in it. Code is very simple. I have started app insights on top of app.js const appInsights = require('applicationinsights'); appInsights.setup('instrument-key-here'); appInsights.defaultClient.commonProperties = { 'appName': 'Name-Of-MS' }; appInsights.start(); import express from 'express'; I am able to see telemetry data in azure but the problem I deploy the application on the dev server (Linux)...run my

Azure Function - Pandas dataframe to Excel, write to outputBlob stream

送分小仙女□ 提交于 2021-02-11 12:32:35
问题 Am trying to write a DataFrame to an outputBlob from an Azure Function. I'm having trouble figuring out which io stream to use. My function looks like this: import io import xlrd import pandas as pd def main(myblob: func.InputStream, outputBlob: func.Out[func.InputStream]): logging.info(f"Python blob trigger function processed blob \n" f"Name: {myblob.name}\n" f"Blob Size: {myblob.length} bytes") input_file = xlrd.open_workbook(file_contents = myblob.read()) df = pd.read_excel(input_file) if

Login failed for user '<token-identified principal>' but works in Data Studio

不问归期 提交于 2021-02-11 12:32:16
问题 I am trying to use my AD account to connect to the Azure SQL using Java 8, JDBC Driver, and my accessToken. When I use Data Studio using my AD Account, I can connect successfully to the Azure SQL DB. But when I use my Java Program then it gives me this error: Request processing failed; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user '' My code abstract: SQLServerDataSource ds = new SQLServerDataSource(); ds.setServerName("NAME.database.windows.net");

transform data in azure data factory using python data bricks

五迷三道 提交于 2021-02-11 12:31:29
问题 I have the task to transform and consolidate millions of single JSON file into BIG CSV files. The operation would be very simple using a copy activity and mapping the schemas, I have already tested, the problem is that a massive amount of files have bad JSON format. I know what is the error and the fix is very simple too, I figured that I could use a Python Data brick activity to fix the string and then pass the output to a copy activity that could consolidate the records into a big CSV file.

Unable to programmatically get the keys for Azure Storage Account

旧城冷巷雨未停 提交于 2021-02-11 12:29:29
问题 I am trying to get the keys for all the Storage Accounts in my subscription. But I am getting this exception on one of the Storage Account using Azure Java SDK. com.microsoft.azure.CloudException: Status code 403, {"error":{"code":"AuthorizationFailed","message":"The client '5c79ee27-#########-######91f8e3' with object id '5c79ee27-###########-#####91f8e3' does not have authorization to perform action 'Microsoft.Storage/storageAccounts/listKeys/action' over scope '/subscriptions/758ad253-####

Azure Function App Cosmos DB trigger connection drop

ぃ、小莉子 提交于 2021-02-11 12:29:23
问题 I am using a Function app with cosmos DB trigger, when running locally, the behavior is very strange as I stop receiving events randomly, like if the connection to the Lease collection drops. I am getting an error message that says a read operation fails to Blob storage, but not sure if this is related. Here's the error: There was an error performing a read operation on the Blob Storage Secret Repository. Please ensure the 'AzureWebJobsStorage' connection string is valid I am running the

How to get Principal Id in app service using Arm template?

只愿长相守 提交于 2021-02-11 12:28:58
问题 Hi I am writing ARM templates to deploy my app service. I want to create system identity in my arm template. In app service arm template section I have below code. "identity": { "principalId": "[reference(variables('identity_resource_id'), '2017-12-01', 'Full').identity.principalId]", "tenantId": "[parameters('tenantId')]", "type": "SystemAssigned" } Then in variable section I added "appServiceNameFrontEnd": "[concat(variables('defaultConvention'),'03-','FrontEnd')]" "identity_resource_id": "