azure-api-apps

How do I upload a certificate to Azure API Management and verify it in your API

荒凉一梦 提交于 2020-03-23 12:05:11
问题 I want to make my API use a certificate so that API management can talk to the API but no one else can surf directly to the API I have uploaded a certificate to API Management (APIM) but after that I don't know what to do and the "help" available in blogs is pretty poor. I have uploaded a self signed certificate to: Azure | API Management service | Publisher Portal | Security I have code in the API Controller that interrogates any certificates in the Request but I don't know how the

Azure Grant admin consent for Arcadis not editable

谁说我不能喝 提交于 2020-01-25 09:41:42
问题 I have added Graph permissions that "User.ReadWrite.All" and other permissions like below, but I am not able to grant consent permission for the added requests. Even my organization's azure support team members also not able to give me permission. Why the "Grant admin consent for Arcadis" button is not enabled? Why is it showing "Not granted for Arcadis? Need to pay for this API consumption or How to enable this feature? 回答1: To grant consent to these permissions, the signed-in user must be

Error when deploying nodejs server in web api app Azure

折月煮酒 提交于 2020-01-17 02:27:07
问题 I am trying to deploy this nodeJS server as web API app in azure and I can't seem to get this running, after fixing verious object i keep getting other errors and can't seem to get this api up and running. so please helpe me out. here is the error I am getting: I'm using the debugconsole to check if this node can be deployed and this is where i keep getting error after error but i just can't seem to be able to get this api up and running PLEASE HELP. 回答1: getaddrinfo ENOTFOUND means mongodb

Authorising a .net user-application through Google or Twitter

天涯浪子 提交于 2020-01-16 19:38:09
问题 My question is [Similar to this one1, but with third party providers instead of active directory. I have an end-user UWP app, and I want to consume my Azure API App. I am NOT Azure mobile app and it's client side SDK. Most of documentation is of sort "copy paste this magic code" and never explains how authentication actually happens. I was inspecting mobile app SDK because Microsoft's documentation says that it's auth. process is the same. From what I see, the mobile App SDK opens a web-view

CORS Prelight Issue

∥☆過路亽.° 提交于 2020-01-15 09:22:11
问题 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=json_callback. Response for preflight is invalid (redirect) This is what I am doing From mytenantsite.sharepoint.com, making a call jQuery call to an Azure app on the folliwing url - https://azentsearchdev01-mytenant.msappproxy.net As part of the call, I am setting an authorization header with authentication

Azure Logic App: How to save HTTP Connector's body content to OneDrive file?

落爺英雄遲暮 提交于 2020-01-06 06:35:13
问题 I have a simple Azure Logic App with the following components: Recurrence HTTP Get from HTTPS url I've tried to configure the next component to save the HTTP response body to OneDrive with OneDrive Connector configured as follows: FilePath: ApiTest/test.json Content: @{body('http')} Content Transfer Encoding: None This gives the following error: {"code":"InvalidTemplate","message":"Unable to process template language expressions in action 'microsoftonedriveconnector' inputs at line '1' and

Add custom domain names to web apps using REST API

牧云@^-^@ 提交于 2019-12-31 05:25:26
问题 I am new person to Azure development. Is it possible to add custom domain names to web apps using .Net REST API? 回答1: yes, you can do that. 1) Install the NuGet Web Sites Management Package into your project. 2) Get Azure Publish Settings file (for example, by using Powershell Get-AzurePublishSettingsFile). You will need that later (the value of the management certificate field inside of that file). 2) Instantiate WebSiteManagementClient. That should help with the understanding of the code. 3

Azure Web App with “https” url to Azure App Api request not working

£可爱£侵袭症+ 提交于 2019-12-25 09:15:50
问题 Angularjs http request to external Azure App Api fails from Azure Web App with "https", but works when url is http. Authentication is turned on in Web App, but requires no action if not authenticated. What am I missing? 回答1: Your issue is about Same Origin Policy , on which you can find detials on this SO answer. To make long story short, you can't call a less secure resource than the page you are on (in your case making an AJAX request from an HTTPS page down to an HTTP resource). 回答2:

Active Directory B2C and OpenIdConnectAuthenticationMiddleware - Multitenant systems

流过昼夜 提交于 2019-12-24 15:40:19
问题 I have set up two tenants, 123.onmicrosoft.com and abc.onmicrosoft.com . I have developed a web application using OpenIdConnectAuthenticationMiddleware to do the OpenID Connect authentication flow. The out-of-the-box middleware requires the client ID to be passed during the configuration of the OWIN middleware, this is our challenge. Our web application is deployed once using two bindings: 123.mydomain.com and abc.mydomain.com . We want to set the client ID at runtime. Our current approach

High CPU usage was detected for the kudu app for Azure App service

橙三吉。 提交于 2019-12-24 13:07:05
问题 I noticed that our app was experiencing high CPU usage. In the diagnostics I found the below message. High CPU usage was detected for the kudu app for 'DemoApiApp'(39.1%) on only one instance out of 4 instances in your app service plan. The affected instance had a peak overall usage of 87.8% during this time. High CPU usage in the kudu process is most often caused by web job usage. Affected instance name: RD0003FF1C445A 回答1: Note that, apps in the same App Service plan share the same compute