azure-webapps

Are the live connections dropped on azure while doing Blue Green deployment

旧街凉风 提交于 2021-02-10 14:40:41
问题 I am deploying my java rest services on Azure App services, I am trying to understand blue green deployment on azure, I read this official blog on Azure Blue Green : https://azure.microsoft.com/en-in/blog/blue-green-deployments-using-azure-traffic-manager/ I got the initial idea, but what if there are many live connections on Blue instance and new code is deployed on the green instance and after sanity testing, we swap blue with green. If there is any live connection on blue will it die or

Adding guest users to Azure AD with an automated script?

你离开我真会死。 提交于 2021-01-29 13:29:20
问题 Is there a way to add guest users to Azure AD in an automated way? The process should work like this: A user is sending his microsoft address (e.g. john_doe@hotmail.com) via a form to our web service The service is then adding this user to Azure AD by using the functionality "Invite User" . Is it possible to automate this? 回答1: An application can create Azure AD B2B invitations using Microsoft Graph. The invited user will still at some point have to go through the invitation redemption

Get user details with azure active directory as authentication provider

。_饼干妹妹 提交于 2021-01-28 18:25:10
问题 I have an angular application hosted in Azure web app. I have selected azure active directory as the authentication provider and if the request is not authenticated then it should log in with the same. So, basically, if the user is already logged in with his/her Microsoft account then he/she does not need to log in again. As per now, I am using .auth/me to get all the user-related details such as givenName, email, etc. Now, I have a requirement to display the user's outlook profile picture.

Azure Cli How to enable Application Insights for webapp

被刻印的时光 ゝ 提交于 2021-01-23 06:30:50
问题 Consider the following code. It creates an application insight, then it retrieves the instrumentationkey and assigns it to my webapp. az monitor app-insights component create -g $resourceGroup --app $webapp --application-type web --kind web --tags $defaultTags $instrumentationKey = az monitor app-insights component show -g $resourceGroup -a $webapp --query 'instrumentationKey' -o tsv az webapp config appsettings set -g $resourceGroup -n $webapp --settings APPINSIGHTS_INSTRUMENTATIONKEY=