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.

azure-api-apps
Filter by
Sorted by
Tagged with
114 votes
7 answers
67k 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 ...
envio's user avatar
  • 1,335
31 votes
5 answers
9k 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 ...
JTIM's user avatar
  • 2,789
25 votes
3 answers
58k 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/...
lokanath das's user avatar
21 votes
3 answers
27k 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 ...
Richard210363's user avatar
19 votes
3 answers
22k 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.
akoliya01's user avatar
  • 339
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 ...
halileohalilei's user avatar
15 votes
1 answer
12k 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() ...
ZENIT's user avatar
  • 500
15 votes
4 answers
10k 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. ...
Nitin Rastogi's user avatar
14 votes
2 answers
12k 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 ...
Dmitry Kazakov's user avatar
9 votes
1 answer
17k 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 ...
Dan Lee BTS's user avatar
8 votes
1 answer
13k 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?
Prasad Bhokare's user avatar
8 votes
6 answers
16k 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 ...
veljkoz's user avatar
  • 8,474
8 votes
2 answers
10k 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 ...
Minh Nguyen's user avatar
  • 2,176
7 votes
5 answers
11k 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 ...
Scott's user avatar
  • 1,097
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 (...
Harshal Yelpale's user avatar
6 votes
4 answers
14k 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 ...
Shankar's user avatar
  • 63
6 votes
2 answers
12k 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 ...
Graeme Wilson's user avatar
6 votes
1 answer
13k 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 ...
trailmax's user avatar
  • 34.7k
6 votes
1 answer
6k 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 ...
Dinesh's user avatar
  • 193
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 ...
Thabo's user avatar
  • 1,542
6 votes
2 answers
3k 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 ...
Nate Jackson's user avatar
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 ...
Mr.War's user avatar
  • 55
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 ...
Hussein Salman's user avatar
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 ...
Dave's user avatar
  • 349
5 votes
2 answers
5k 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 ...
Jason H's user avatar
  • 5,086
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 ...
adelb's user avatar
  • 801
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 ...
Moeez's user avatar
  • 564
5 votes
1 answer
687 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....
JTIM's user avatar
  • 2,789
5 votes
1 answer
1k 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 ...
Kye's user avatar
  • 6,029
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: <...
Alex's user avatar
  • 1,322
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?
puri's user avatar
  • 1,839
4 votes
3 answers
7k views

JSON.NET to deserialize dynamic object

I have JSON data: var decodedJson = "{{ "user": { "userId": "sid:C4F4E93856104F078A11FE95892F0158" }, "authenticationToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9....
Minh Nguyen's user avatar
  • 2,176
4 votes
3 answers
2k views

Why is Microsoft Oauth2 API changing the scope of authorization requests?

I'm creating an application which needs to request user authorization from a Microsoft Work account. And stumbled into this twice. At first, I just wanted to read the user e-mail, so I requested the ...
guhcampos's user avatar
  • 315
4 votes
4 answers
9k views

AADSTS501051: Application '{API GUID}'(DEV-API) is not assigned to a role for the application '{API GUID}'(DEV-API)

I want to access one API by its Client Credential directly not via any web application private async Task<string> GetAutheticationToken(string APITypeSelected, string APIKeySelected=null) { ...
rosalini's user avatar
  • 133
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 ...
mattnedrich's user avatar
  • 7,822
4 votes
0 answers
1k views

Azure Logic App - Failed to Fetch Swagger

I have created a SQL connector and am trying to use it within a logic app (trigger) through the "HTTP + Swagger" Managed API from a blank template within the designer. However after entering the ...
Clive Newcomb's user avatar
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 ...
Jeff's user avatar
  • 3,337
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 ...
Matt M's user avatar
  • 1,265
3 votes
3 answers
9k 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-...
tRuEsAtM's user avatar
  • 3,737
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 ...
Sticky's user avatar
  • 3,789
3 votes
3 answers
2k 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 ...
gordon613's user avatar
  • 2,842
3 votes
2 answers
834 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/...
vinhent's user avatar
  • 2,752
3 votes
2 answers
296 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....
Raja Priyan's user avatar
3 votes
1 answer
408 views

How to get how much requests units consumed by cosmos query in Python SDK API

How to check how many Request units consumed for each requests in Azure comsos DB query using python sdk. Below code only prints output of the response from particular ReadItem, I also interested in ...
Vidya 's user avatar
  • 617
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 ...
Kai Walter's user avatar
  • 3,733
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.)
Thomas Mutzl's user avatar
3 votes
1 answer
575 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 ...
S Wilkinson's user avatar
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 ...
MyoungSoo Gang's user avatar
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 '...
AlvinfromDiaspar's user avatar
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=...
Nitin Rastogi's user avatar

1
2 3 4 5
9