azure-web-sites

Azure Website Single Sign On accessing Azure Mobile Service from Azure Active Directory as User

那年仲夏 提交于 2020-01-07 07:50:01
问题 I have an ASP.NET MVC website deployed as Azure website (called website ). That website has a section that needs authorization. I already have set up Windows Azure Active Directory ( WAAD ) to protect access to that section. Once that protected section has loaded, it will load a Javascript app that allows integration with the Azure Mobile Service. I also have a separate Azure Mobile Service that I use for data storage (called mobserv ). I want to access mobserv table and api endpoints from

Please add Auth0 to list of identity providers

ε祈祈猫儿з 提交于 2020-01-07 05:42:15
问题 A reasonable list of providers is available but adding Auth0 will open the possibilities up. Auth0 is not only excellent but acts as a proxy to a very large list of providers. Plus they are just down the road to you guys :) Important to me is the ability to use a custom authentication UI and their database storage. Otherwise I have to roll my own. My users do not have any existing accounts (including email) and so need a simple username / password experience (as horrible this might be for

How To Deploy Third party software on Azure app service

折月煮酒 提交于 2020-01-07 05:20:46
问题 I have an ASP.NET website that I am deploying to an Azure app service, which requires the Access Database Engine to be installed. I have included the accessdatabaseengine.exe file and also added install.cmd. In install.cmd file I have: AccessDatabaseEngine.exe /passive. But this doesn't seem to be working. What am I missing? What is the correct way to install a 3rd party binary in an Azure app service? 回答1: You cannot install arbitrary software when running on Azure App Service. Generally,

Azure Storage access from Azure web site

[亡魂溺海] 提交于 2020-01-07 03:55:06
问题 I have a blob storage tree display built into a website running happily from the Visual Studio 2015 iisexpress. When the files are uploaded to an Azure web site, the page with the storage tree causes a browser error "Too many redirects". Is there anything different because it's running on Azure? I'm an Azure newbie. Here is the code doing the connection @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @using Microsoft.WindowsAzure.Storage; @using Microsoft.WindowsAzure.Storage.Auth; @using

Our ASP.NET core RC1 application stopped working and then started working again

末鹿安然 提交于 2020-01-06 19:50:13
问题 We have built an .NET application on ASP.NET core RC1 (release candidate 1) and deployed it on Windows Azure in an Web App container. By August the 2'nd the application stopped working over night. We found out it was caused by the fact that Microsoft stopped supporting RC1 (and RC2 for that matter) by that date. The strange thing is that by today the application started working again without any change from our side. Can anyone explain that behavior? I don't feel very comfortable with these

Azure WebSites denies access to Google Api

…衆ロ難τιáo~ 提交于 2020-01-06 15:04:11
问题 I am working on a dll that is used by web form application. One of dll's features is creating Google CalendarService and using it. When I run the webforms on my local host everything is running smoothly. However, if I run it from Azure websites 'GoogleWebAuthorizationBroker.AuthorizeAsync' method throws HttpListenerException (0x5): Access is denied Here is a stack trace: [HttpListenerException (0x5): Access is denied] Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task

Running azure powershell script on web app during release task

旧城冷巷雨未停 提交于 2020-01-06 14:28:25
问题 I have an 'azure powershell task' running in my VSTS release after my 'deploy to azure site' task. In the powershell script, i have some transformations that i need to run on several of the files on the website, all based on the deployments variables. The problem is I can't find the directory for the website. The root directory that the task is run under is something like: D:\a_tasks\AzurePowerShell_71a1931a-effb-3d2e-8fd8-f7472a07cb62\3.1.18\ how do i point it to the d:\home\site\wwwroot\ ,

“Keyword not supported: authentication” when using Active Directory Password against AAD in Azure Web App

我是研究僧i 提交于 2020-01-06 05:18:25
问题 I'm have an Azure Web App where I've set the connection string to point to an Azure SQL DB. I'd prefer to use an Azure Active Directory username/password for authentication so I used the following connection string: Server=tcp:mydb.database.windows.net,1433;Initial Catalog=mytable;Persist Security Info=False;User ID={your_username};Password={your_password};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Authentication="Active Directory Password"; This causes my app to

Azure Deployment Slot Switch cmdlet not working from PowerShell

Deadly 提交于 2020-01-06 05:08:31
问题 I can do this swap from the Portal, however it won't work from PowerShell Switch-AzureRmWebAppSlot -ResourceGroupName "z_test_amp_Resource_Group" -Name "z-test-amp-EXPERIMENT-TEST-APP" -DestinationSlotName "z-test-amp-EXPER-DEPLOY-SLOT-01" -SourceSlotName "production" It gives the error: The Resource 'Microsoft.Web/sites/z-test-amp-EXPERIMENT-TEST-APP/slots/production' under resource group 'z_test_amp_Resource_Group' was not found. In the Portal Swap dialog it provides "production" in the

Move the file from Sftp to the Azure container using function app

北城余情 提交于 2020-01-06 05:08:11
问题 I was writing a C# program to move the file from Sftp to the Azure container. Using visual studio I'm able to move the file from sftp to container. I wanted to make it through Azure function app. Below is the code i have written in visual studio. In azure function app i'm getting many error including reference not found. Could any one advise me how to make work this code in azure function app? using System; using System.Threading; using System.IO; using System.Configuration; using Renci