azure-app-service-envrmnt

Is Azure App Service now supporting GDI+ (System.Drawing)?

喜你入骨 提交于 2019-12-11 17:18:19
问题 I've been dealing with deploying an API that uses System.Drawing for a few weeks. I had it running in an Azure App Service and I used to get a "GDI+ generic exception". Now, out of nowhere started working. I looked for Microsoft announcements but couldn't find anything. 回答1: GDI+ is still not supported now, please refer to here. A User voice has already been submitted. 来源: https://stackoverflow.com/questions/52364192/is-azure-app-service-now-supporting-gdi-system-drawing

Python external on Azure ImportError No Module Found

爱⌒轻易说出口 提交于 2019-12-11 16:33:12
问题 If i locally run my code with python main.py, then this error occurs locally. If i run it with python3 main.py, it works as expected. I suspect my azure app service is not running the correct version of python, however, it is set to python 3.4 StdErr: 2018-06-30 19:47:13.785205: Unhandled exception in wfastcgi.py: Traceback (most recent call last): File "D:\Python34\Scripts\wfastcgi.py", line 711, in main env, handler = read_wsgi_handler(response.physical_path) File "D:\Python34\Scripts

403 Forbidden when using client managed authentication on Azure App Service

和自甴很熟 提交于 2019-12-11 15:25:52
问题 I've been working on a multi-app project for a few months now using Azure App Service for my database and ADD B2C for authentication. There are three applications in this project: an admin WPF app, a client web app, and an employee WPF app. All three applications use client managed authentication with my B2C tenant by getting a token from B2C and using that token to login to the App Service database. Everything has been working fine until seemingly overnight I am no longer able to

Unable to access admin URL of Azure Functions

﹥>﹥吖頭↗ 提交于 2019-12-11 04:30:04
问题 I am using powershell and trying to access Azure functions Administration using api. I am trying to get list of all functions created under $appName Certainly i am changing $appName with actual Azure Function name before call I also got valid $authToken before this call. Below URL: $Functions = Invoke-RestMethod -Method GET -Headers @{Authorization = ("Bearer {0}" -f $authToken)} -Uri "https://$appName.azurewebsites.net/admin/functions" and the error in my powershell execution is : Invoke

Azure: manually add app service certificate to key vault

馋奶兔 提交于 2019-12-11 00:37:55
问题 Azure has a simple way of adding an App Service Certificate to a Key Vault from the web interface. I did this and later I accidentally deleted the certificate from the Key Vault . The App Service Certificate resource is still there, but the certificate no longer shows up in my Key Vault (obviously). Is there a way that I can re-add my App Service Certificate to my Key Vault ? Attached images: The App Service Certificate still thinks it's been added to Key Vault: ... but the cert is no longer

Access security to an Azure App Service API App

南笙酒味 提交于 2019-12-10 10:39:10
问题 We have a system that is based on 2 tiers, a Backend tier and a Frontend tier, right now both are Azure WebSites communicating trough WebAPI. I wan't to move the backend WebAPI to API App - question is - if it's possible to configure the security of an API App in such way, that it is only accessible from the configured Frontend ASP.NET MVC 6 Web application (hosted in Azure WebSites). We planned to use Active Directory as an authentication method between the frontend Web App and the backend

Azure App Service - Custom Authentication - HTTP Verb not allowed

回眸只為那壹抹淺笑 提交于 2019-12-09 03:44:37
问题 I followed this tutorial to enable authentication in my Xamarin.Forms App: https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter2/custom/ A test with Postman (as described in the tutorial) went succesfully. The token returned. When i call this from my C# code... LoginAsync("custom", Newtonsoft.Json.Linq.JObject.FromObject(auth)); I got an error like: Method not allowed. HTTP Verb not allowed I found out that the Azure SDK sends a POST and GET request when calling

Move Azure website between App Service Plans

◇◆丶佛笑我妖孽 提交于 2019-12-08 17:50:43
问题 Is it possible to move an Azure Website to a different (or new) App Service Plan ? I have already tried both the old and new portals but cannot find the options for this. 回答1: The option " Change App Service plan " has been moved to the APP SERVICE PLAN menu. 回答2: The original accepted answer is more than a year old. In Azure world, that's an eternity. The "Change App Plan" button in the Azure Portal is no longer present it appears (as of 2016-06-17), so I'm throwing in the Powershell command

The request could not be completed. (Internal Server Error) at Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient

孤人 提交于 2019-12-07 00:10:40
I have a Xamarin.Forms app which is connected to an Azure Mobile Service backend. I am in the process of upgrading my (migrated) mobile service to an app service according to this documentation . I have added my easy tables to my new app service and I can see the data records in the Azure portal. But when I make any call to this new app service via my app it results in the following error: Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException: The request could not be completed. (Internal Server Error) at Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient Does

Access security to an Azure App Service API App

ε祈祈猫儿з 提交于 2019-12-06 09:41:53
We have a system that is based on 2 tiers, a Backend tier and a Frontend tier, right now both are Azure WebSites communicating trough WebAPI. I wan't to move the backend WebAPI to API App - question is - if it's possible to configure the security of an API App in such way, that it is only accessible from the configured Frontend ASP.NET MVC 6 Web application (hosted in Azure WebSites). We planned to use Active Directory as an authentication method between the frontend Web App and the backend Web App, so that only the frontend can have access to the backend WebAPI. Is this the most secure way?