azure

Error while using CosmosDB provider for Entity Framework Core with Azure Tables

99封情书 提交于 2021-02-05 11:42:43
问题 I'm trying to do a simple CRUD application with EF Core and Azure Table (from Azure Storage Account). I'm passing name of the storage account as database name (The docs aren't exactly clear on that) services.AddDbContext<HomioDbContext>(options => options.UseCosmos( "https://homiostorage.table.core.windows.net/", "{Account Key}", databaseName: "{name of storage account}")); Doing any db operation throws following error ( The value for one of the HTTP headers is not in the correct format )

What business logic is the Azure Cost Export applying?

走远了吗. 提交于 2021-02-05 11:30:49
问题 I want to get the most up to date actual costs in Azure. There seem to be 4 ways of doing this with different results: Export Costs to Storage Account Cost Management API Billing API Consumption API Number 1 works well but I need an API, not a file dump. Number 2 seems to be made for powering the Cost Management UI with high-speed dimension querying Number 3 seeems to be in Preview but legacy (!) Which brings me to number 4. I compared this query with the output from the CSV Cost Export file

Azure Resource Manager template chained functions

强颜欢笑 提交于 2021-02-05 11:30:12
问题 I am trying to remove / from the URL using azure function before assigning to output variable value "webappStorageUri":{ "type": "string", "value": "[take(reference(resourceId('Microsoft.Storage/storageAccounts', variables('webappStorageName'))).primaryEndpoints.web, length(reference(resourceId('Microsoft.Storage/storageAccounts', variables('webappStorageName'))).primaryEndpoints.web)-1]" } Returned value from length function should be the value for take function. This is not working. I get

Does / Will AKS support spreading pods across update domains?

佐手、 提交于 2021-02-05 11:00:07
问题 According to this article (April 2018) AKS is capable of intelligently placing pods across fault domains when running in an availability set, but it does not consider update domains yet. Will update domains be used to place pods in AKS anytime soon? 回答1: It already does this automatically when you setup your cluster. Your nodes are placed into an availability set and in that availability set they are placed into separate fault domains and update domains. 来源: https://stackoverflow.com

How to make Azure AD access_token compliant for its signature validation outside Microsoft Graph APIs?

别来无恙 提交于 2021-02-05 10:25:07
问题 I have created a Azure AD Mobile and desktop applications. Now I am getting my access_token using following API, POST https://login.microsoftonline.com/{Directory (tenant) ID }/oauth2/token password:pass client_id:id resource:https://graph.microsoft.com grant_type:password client_secret:secret username:userName scope: openid The response looks like, "access_token": "acessToken", "refresh_token": "refereshToken", "id_token": "id_token". Now I am passing the access_token to a third party

CyberSource keys folder issue in Azure, Asp.Net Mvc Web Api

回眸只為那壹抹淺笑 提交于 2021-02-05 09:45:54
问题 I am implementing registration process that implements cybersource as payment gateway with ASP MVC web API. In web.config we have to specify the keys and logs directory. <add key="cybs.keysDirectory" value= "E:\CyberSource\Keys/" /> <add key="cybs.logDirectory" value= "E:\CyberSource\Logs/" /> This works fine when we deploy the API on IIS and work locally. But when we deploy the API to Azure and for the registration part (Subscribe) that use the CyberSource gateway we get the 502 bad request

How to get users from azure active directory to azure function

大憨熊 提交于 2021-02-05 09:32:08
问题 I am developing a server less application using azure functions using Node js. Function app auth via azure active directory. My scenario is I want to get particular user data ex(email,username etc) by using his email or username during execution of one of http trigger function. There are several options that I already checked (ad and activedirectory libraries. These library seems not updated and I want to know is there any way to do this by using azure's Node Js SDK? I am seeking a solution

Error calling the azure function endpoint from azure data factory

眉间皱痕 提交于 2021-02-05 09:30:07
问题 I have linked azure function in data factory pipeline which writes the text file to blob storage The azure function works fine when executed independently and writes the file to blob storage But i am facing below mentioned error when i run the azure function from data factory { "errorCode": "3600", "message": "Error calling the endpoint.", "failureType": "UserError", "target": "Azure Function1" } I have configured the azure fucntion to access the blob with blobendpoint and shared access

Unable to deploy React JS application on Azure App service

淺唱寂寞╮ 提交于 2021-02-05 09:27:58
问题 I was going through the some of the links to deploy React Js application on the azure app service. But i am facing some problem while deploying the application. I have added all the necessary things like web.config file to public folder and also added build directory to the workspace. Deploying web app on azure app service Deploy Node.js to Azure App Service using Visual Studio Code followed all the steps but getting below error when i try to deploy on azure app service. Before deploying i do

Django Microsoft AD Authentication

谁都会走 提交于 2021-02-05 09:24:06
问题 I noticed that this question was repeated few times, but still, from all the resources, I couldn't manage to make it work properly. I'm simply trying to use Azure Active Directory authentication with my Django app. I am using this module, and I configured everything as noted in the docs. The thing is - I can't figure out where should user enter the credentials - since the module has only one url ('auth-callback/'). I can't find out how to jump to Microsoft login html page. Should I use my