azure-web-app-service

How can I create a python webhook sender app?

风格不统一 提交于 2021-01-16 04:14:05
问题 This is a follow up question to this post. I have a data warehouse table exposed via xxx.com\data API endpoint I have been querying this table using the following code and parsing it into a dataframe as follows; import requests import json import http.client import pandas as pd url = "xxx.com\data?q=Active%20%3D1%20and%20LATITUDE%20%3D%20%20%220.000000%22%20and%20LONGITUDE%20%3D%20%220.000000%22&pageSize =300" payload = {} headers = {'Authorization': access_token} response = requests.request(

Azure App Service stops working after enabling Managed Identity

扶醉桌前 提交于 2021-01-07 03:42:53
问题 I've deployed a Docker container in Azure App Services. I have a public API that I can call, which returns "Hello world". I would like to use Azure Managed Identity in my app, so I enabled it in Azure portal. I enabled the "System assigned" one, following this documentation: https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=dotnet After enabling the Managed Identity, my web app stops working. Restarting it doesn't help. Disabling the Managed identity fixes it.

Azure App Service stops working after enabling Managed Identity

自闭症网瘾萝莉.ら 提交于 2021-01-07 03:42:34
问题 I've deployed a Docker container in Azure App Services. I have a public API that I can call, which returns "Hello world". I would like to use Azure Managed Identity in my app, so I enabled it in Azure portal. I enabled the "System assigned" one, following this documentation: https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=dotnet After enabling the Managed Identity, my web app stops working. Restarting it doesn't help. Disabling the Managed identity fixes it.

Is automating App Registration on Azure possible through ARM Template on the User's tenant?

时光怂恿深爱的人放手 提交于 2021-01-07 02:42:25
问题 I am trying to deploy a solution as a managed application through ARM Template. For the deployment to work, I need the Client Id and Client Secret of a registered Application along with the Tenant Id. In my previous scope, I was assuming that the user would have an existing App Registered but now I want to Automate the App registration process for the user and be able to register an application having O365 API Permissions in user's tenant. Below is the approach I were following earlier. So

Response streaming in Express does not work in Azure App Service

白昼怎懂夜的黑 提交于 2021-01-03 22:36:39
问题 I am trying to stream responses to my client using a NodeJS Express server hosted using Azure App Service. However, I noticed that it is not really streaming but tries to send the response as a whole. When the response size is huge (>50MB), the client gets an Internal Server Error , but the server does not throw an error. Further, when I run the server inside a Docker (Node Image: 10.22.0-alpine3.9 ), I see that the client gets the response as a stream even for huge responses. (This is the

How long does it take for an Azure App Service instance to be available after a scale out?

拈花ヽ惹草 提交于 2021-01-02 12:56:47
问题 Context: I am designing the auto-scaling (scale out) configuration for my .NET Framework 4.7 web app hosted on a Microsoft Azure App Service. I am using the P3V2 pricing tier. The application is CPU-bound. The app's 30 day CPU average is 30% usage while running on 2 instances, according to the stats indicated in the App Service plan. We occasionally have traffic spikes which will overwhelm the 2 instances: I want to implement auto-scaling. I want to take into account the App Service

How long does it take for an Azure App Service instance to be available after a scale out?

ぃ、小莉子 提交于 2021-01-02 12:53:10
问题 Context: I am designing the auto-scaling (scale out) configuration for my .NET Framework 4.7 web app hosted on a Microsoft Azure App Service. I am using the P3V2 pricing tier. The application is CPU-bound. The app's 30 day CPU average is 30% usage while running on 2 instances, according to the stats indicated in the App Service plan. We occasionally have traffic spikes which will overwhelm the 2 instances: I want to implement auto-scaling. I want to take into account the App Service

How long does it take for an Azure App Service instance to be available after a scale out?

最后都变了- 提交于 2021-01-02 12:51:17
问题 Context: I am designing the auto-scaling (scale out) configuration for my .NET Framework 4.7 web app hosted on a Microsoft Azure App Service. I am using the P3V2 pricing tier. The application is CPU-bound. The app's 30 day CPU average is 30% usage while running on 2 instances, according to the stats indicated in the App Service plan. We occasionally have traffic spikes which will overwhelm the 2 instances: I want to implement auto-scaling. I want to take into account the App Service

What does https://<myapp>.azurewebsites.net/.auth/login/aad/callback mean?

空扰寡人 提交于 2020-12-23 11:57:38
问题 I am configuring Authentication for my Web application using Azure App Service. I chose AAD with Express mode to register my application. It registered my application at AAD with reply-url as https://.azurewebsites.net/.auth/login/aad/callback. I intercepted the requests GET\ POST for above callback. It sends the access token. Question: I have not implemented the controller for above reply-url in web application. Who is handling it correctly? Please shed me some light on above callback. Can

What does https://<myapp>.azurewebsites.net/.auth/login/aad/callback mean?

时光总嘲笑我的痴心妄想 提交于 2020-12-23 11:57:20
问题 I am configuring Authentication for my Web application using Azure App Service. I chose AAD with Express mode to register my application. It registered my application at AAD with reply-url as https://.azurewebsites.net/.auth/login/aad/callback. I intercepted the requests GET\ POST for above callback. It sends the access token. Question: I have not implemented the controller for above reply-url in web application. Who is handling it correctly? Please shed me some light on above callback. Can