Questions tagged [azure-api-apps]
API Apps are part of the Azure App Service suite that also includes web apps, mobile apps, and logic apps.
417
questions
112
votes
7
answers
63k
views
What is the difference between an API App and a Web App?
I've been reading a few tutorials now on deploying Web Apps and API Apps to Azure. However, I am still a little unsure as to why you would use one over another.
I can create a new .NET solution with ...
31
votes
5
answers
8k
views
Azure Custom Controller / API .Net backend
I have had a MobileService running on Azure, and have decided to create a new service and migrate the code myself. The new service is of the new type called: Azure Mobile App Service.
Currently I ...
21
votes
3
answers
43k
views
API management URL is giving Missing subscription key Issue
I am new to API management. I have created a Basic WEB API & hosted to the API APP(App service). URL is working as expected & it's returning the data. i.e. http://xyz.azurewebsites.net/api/...
19
votes
3
answers
23k
views
Location of swagger.json when created with Swashbuckle
When I build and run my Azure Web API I get a nice swaggerUI.
I want to add the API to Azure API Management.
For this I need either a URL or the swagger.json file.
Where does Swashbuckle put the ...
19
votes
2
answers
2k
views
How does Jetty deployment on Azure App Service work?
I have a Java web app that I run on an Azure App Service instance. To deploy it, I use a Bitbucket repo with a .war file inside it. When I commit a new .war file to this repo, it is supposed to be ...
15
votes
1
answer
11k
views
Serilog With API App in Azure
I've integrated Serilog into WebApi project developed with Asp.Net Core 2.0
This is the configuration code in Program.cs:
Log.Logger = new LoggerConfiguration()
.Enrich.FromLogContext()
...
15
votes
4
answers
8k
views
Unable to connect to the Remote Debugging - Web App Azure
I am trying to remote debug an Asp.Net Core Web Application (with Web API) project deployed as an Azure App Service with Visual Studio 2017 Professional.
Followed the instructions as documented here. ...
14
votes
2
answers
11k
views
Azure Functions and Azure Application Gateway or API Management
I have several Microsoft Azure functions developed.
I would like to use a gateway with firewall to make my Azure functions available and protected using one public IP only.
Is there way to use ...
12
votes
2
answers
14k
views
Azure Devops 203 Non-Authoritative Information with REST API
While calling a REST API for Azure DevOps I am getting an error 203 Non-Authoritative Information.
Actually I want to trigger a release pipeline line with the help of REST API.
8
votes
6
answers
15k
views
CORS headers missing when deployed on Azure Web App / Azure API
I have created an OWIN hosted WebAPI 2. There's also a web app (AngularJS) that's using the API and acting as a client.
I've added the necessary code for the CORS to the Startup.cs, and hosted it in ...
8
votes
2
answers
9k
views
How to remote desktop to Azure App?
I have created an Azure API App. Then I need to run some command line for testing on that environment. In Azure classic I can do remote desktop to Cloud services to run some command line but now in ...
7
votes
5
answers
10k
views
Azure API App Swagger is not available from portal
I've created an Azure API App and deployed it to Azure. At first, I had no problem getting the Swagger file from the portal (i.e. by clicking the "API Definition" button on the API App blade), but at ...
7
votes
1
answer
2k
views
How to deploy Angular 6 with .NET Core 2.0 Web API Application to Microsoft Azure?
How to deploy Angular 6 with .NET Core 2.0 Web API Application to Microsoft Azure?
I have created ASP.NET Core 2.0 Web API (Server-Side app) application and inside that created Angular 6.0 app (...
7
votes
1
answer
12k
views
Unable to resolve (502) Bad Gateway error in Azure App Service
We have an App Service Plan (P2v2: 1) that has 6 .Net Core Web API's & 2 Web Jobs deployed.
Of late, 1 of the Web API periodically starts emitting (502) Bad Gateway error.
The error seems to ...
6
votes
4
answers
12k
views
How can view the swagger ui for Azure API app
I am creating an Azure API app on Visual Studio 2015. when i hit browse and redirected to http://localhost:3012/ if i add swagger to the url nothing happens : http://localhost:3012/swagger
it seems I ...
6
votes
2
answers
10k
views
401 error when authenticating to an Azure API App using AAD
I have an API app that has been working fine with a Gateway Host and now that the gateway host is being deprecated I'm trying to follow the Migration Guide. I've redeployed my service using the 2.8.1 ...
6
votes
1
answer
12k
views
Unable to get bearer token from Azure AD to use with API App
I have an MVC application that needs to access private API App in Azure that is protected with Azure AD authentication. So I need to get Azure AD bearer token, transfer it into Zumo-Auth token and use ...
6
votes
1
answer
5k
views
How to debug Azure Function QueueTrigger locally
I am developing an azure functions which will be triggered by the azure storage queue. For HTTPTrigger we can debug locally , but am not able to find the way to debug QueueTrigger locally . Can anyone ...
6
votes
1
answer
1k
views
Azure API App how to use single hosted api for both Mobile and Web
This question is related to following questions but not the same question
How can i integrate Azure Mobile App win Azure API app
How to combine azure AppServices API, Mobile and Web apps
I have ...
6
votes
2
answers
2k
views
How do you authencate to Azure App Services locally?
There are alot of tutorials on how to configure the Authentication properties of a given Azure App Service instance:
Api Apps
Expanding App Service Authentication/Authorization
There are guides for ...
5
votes
1
answer
10k
views
Difference between azure api-apps,logic-apps,web-apps and azure functions
What is the difference between azure API-apps,logic-apps,web-apps and azure functions? And what difference does it make for developer?
5
votes
3
answers
2k
views
Azure easy table connection string missing
I have an azure mobile app created, and am about to setup Easy Table. I have followed each step and have created a connection string to a SQL database created before the mobile app. But when I ...
5
votes
3
answers
2k
views
Difference between Web API and Azure API APP in Visual Studio
When creating an new ASP.NET Web application in order to develop my APIs and host it in Azure, I have two choices:
Web API
Azure API APP
I can create a Web API APP and host it in Azure API APP? So ...
5
votes
1
answer
1k
views
Azure API App client is not generating enums
I hava swagger generated by Swashbuckle from my WebApi service. It all looks fine in terms of types and so on..., however when I generate the proxy classes using Azure API App client it lacks the enum ...
5
votes
2
answers
4k
views
Azure API Management - API End-Point Domain vs Actual API URL
I have setup an Azure API Management Service and its configured on a custom domain. Under the API Management Service's Configure Section in the Azure Portal, I have set the following:
Because this ...
5
votes
1
answer
3k
views
API security in Azure best practice
I'm developing a web API that will be called by other web apps in the same Azure host and also other 3rd party services/ app. I'm currently looking into API Apps and API management, but there are ...
5
votes
2
answers
3k
views
Visual studio unable to add swagger metadata file in my rest api client
I am new to mobile development. As i am familiar with c# .net so i am using xamarin plugin for visual studio. I have created a sample app in which i have used SQLite, created a DB and then performed ...
5
votes
1
answer
668
views
Db context on azure app service (mobile) fails
I have a controller running on Azure App Service - Mobile. The trace shows that the below code runs fine until db.SaveChanges() this fails.
var telemetry = new Microsoft.ApplicationInsights....
5
votes
1
answer
3k
views
Increase the maximum request length in a Azure Api App
I have created an Azure Api App which I will use to upload files. These files will be > 4mb hence the need to increase the maximum request length. I have added the following to Web.config:
<...
4
votes
1
answer
6k
views
Azure API Management and API Versioning
How does Azure API Management help me manage different versions of my API and re-route selected actions from an old version to a new version of the API?
4
votes
3
answers
7k
views
JSON.NET to deserialize dynamic object
I have JSON data:
var decodedJson =
"{{
"user": {
"userId": "sid:C4F4E93856104F078A11FE95892F0158"
},
"authenticationToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9....
4
votes
1
answer
1k
views
Azure Active Directory Application Permission Change Delay
I am using Azure Active Directory to give my application access to the Microsoft Graph API.
When I make permission changes (e.g., read/write access for various types of data) I am noticing a delay ...
4
votes
2
answers
7k
views
Authenticate to Azure API App using ADAL
I have an Azure API App marked as "Public (authenticated)" and set up an Azure Active Directory identity in the associated gateway as detailed in Protect an API App.
I then created a native ...
3
votes
2
answers
3k
views
Unable to use bearer token to access AAD-secure Web API
I have an API app secured with Azure AD (AAD). I also have an AAD application for a consuming application, and in the consuming application I have set up permissions to access the API app.
I am able ...
3
votes
3
answers
6k
views
What happens after Azure App Service quota or limit is reached under the free tier?
I have an Azure API App hosted under free tier. I went through this article describing the limits and quotas. https://learn.microsoft.com/en-us/azure/azure-subscription-service-limits#app-service-...
3
votes
1
answer
2k
views
Python POST request error "image format unsupported" using Microsoft Face API
I'm trying to send a binary image file to test the Microsoft Face API. Using POSTMAN works perfectly and I get back a faceId as expected. However, I try to transition that to Python code and it's ...
3
votes
2
answers
787
views
Azure App Service ApiApp
I am trying to create an API App in Azure App Service with PowerShell.
The cmdlet I am calling always create a Web App by default. If it is possible, I would like to know how I can specify the type/...
3
votes
2
answers
293
views
How to Store Multiple records in My Array List from Azure mobile service Using API Code?
I created completeall2 API in Azure Mobile service..
My API Coding
exports.post = function(request, response) {
var mssql = request.service.mssql;
var sql = "SELECT * from productmovement";
mssql....
3
votes
1
answer
1k
views
"Unauthorized" when invoking an API App from Azure Scheduler with Azure AD OAuth authentication
I have an API App which I have secured with Azure Active Directory authentication. Actions of this API App I want to invoke with Azure Scheduler. I entered tenant id, client id & secret into the ...
3
votes
2
answers
603
views
How to react to message from Microsoft regarding updating API's
I got a message from Microsoft in the last few days
Azure SQL Database 2014-04-01 APIs will be retired on 31 October 2025.
You're receiving this email because you use Azure SQL Database APIs.
To ...
3
votes
3
answers
4k
views
Restart Web/Api-App on Azure programmatically
How can I restart Web-Apps and API-Apps on Azure programmatically?
(I'd like to call it from another API-App within the same App service plan.)
3
votes
1
answer
564
views
How to integrate the new AD B2C and the C# Azure Mobile Client lib?
I have secured my API app and I have successfully tested my ADB2C flow with the sample app I found here: https://github.com/Azure-Samples/active-directory-b2c-xamarin-native. Using that structure, I ...
3
votes
1
answer
3k
views
IP address of Azure API App and how to restrict IPs
I have deployed API App written in Java Servlet.
What I want to know is, that IP address of my API App and the way to allow requests from only one or two IP addresses meaning I want to restrict every ...
3
votes
1
answer
2k
views
Azure node.js API App - Failing during run-time (possibly node.js version issue?)
I have a node.js API App that is being deployed via continuous delivery/deployment in VSO (Visual Studio Online).
I discovered that the app fails when i import modules such as 'express'.
I installed '...
3
votes
1
answer
3k
views
CORS Prelight Issue
I am getting following error for a jQuery call to my azure app proxy
XMLHttpRequest cannot load https://azentsearchdev01-mytenant.msappproxy.net/search?text=mytext&type=json&callback=...
3
votes
1
answer
995
views
Call secure Azure API from Azure Scheduler
I have developed an Azure API which is secure with "log in with azure active directory" configured in ExpressMode.
In Azure management portal, under application, choosing the registered app
in ...
3
votes
1
answer
230
views
Azure API App "No ApiApp installed that can handle forward request to https://my.customdomain.com"
I added a custom domain name for an Azure API App (actually on the underlying API app host).
The `https://microsoft-apiappXXXXXXXX.azurewebsites.net/ address still works but the custom domain yields ...
3
votes
1
answer
505
views
Should I use the Authorization header for API keys
We're going to expose a custom built API (.NET) through Azure API Management. We want to conform to well-known standards where ever possible, so we don't surprise our API consumers. The API is secured ...
3
votes
1
answer
689
views
How to import Azure API App which contains the basic authentication into API Management
I have deployed ASP.NETCore 2.1 code into Azure App Service with Basic Authentication. After that I have imported this API App into Azure API Management, then I can see all API actions in GUID format ...
3
votes
1
answer
1k
views
How to Configure Internal IP for Azure API App Service?
I have a Azure API App service which needs to be exposed to client with single Internal IP. How can i do this?