1 . App Service uses federated identity, in which a third-party identity provider manages the user identities and authentication flow for you.
| Microsoft Identity Platform | /.auth/login/aad | App Service Microsoft Identity Platform login |
/.auth/login/facebook | App Service Facebook login | |
/.auth/login/google | App Service Google login | |
/.auth/login/twitter | App Service Twitter login | |
| Any OpenID Connect provider | /.auth/login/<providerName> | App Service OpenID Connect login |
The authentication and authorization module runs in the same sandbox as your application code. When it’s enabled, every incoming HTTP request passes through it before being handled by your application code. This module handles several things for your app:
- Authenticates users with the specified provider
- Validates, stores, and refreshes tokens
- Manages the authenticated session
- Injects identity information into request headers
Note
In Linux and containers the authentication and authorization module runs in a separate container, isolated from your application code. Because it does not run in-process, no direct integration with specific language frameworks is possible.
For authenticated requests, App Service also passes along authentication information in the HTTP headers.This option provides more flexibility in handling anonymous requests. It lets you present multiple sign-in providers to your users.
to be continued……
Configure application settings
app settings are variables passed as environment variables to the application code. For Linux apps and custom containers,
f you are using deployment slots you can specify if your setting is swappable or not. In the dialog, you can stick the setting to the current slot.
In a default, or custom, Linux container any nested JSON key structure in the app setting name like ApplicationInsights:InstrumentationKey needs to be configured in App Service as ApplicationInsights__InstrumentationKey for the key name. In other words, any : should be replaced by __ (double underscore).
Map a custom domain to an App Service app using CLI
Sign in to Azure
subscription=”” # add subscription here
az account set -s $subscription # …or use ‘az login’
Create WebApp
Map a custom domain to an App Service app
set -e # exit if error
Variable block
let “randomIdentifier=$RANDOM*$RANDOM”
location=”East US”
resourceGroup=”msdocs-app-service-rg-$randomIdentifier”
tag=”configure-custom-domain-webapp-only.sh”
appServicePlan=”msdocs-app-service-plan-$randomIdentifier”
webapp=”msdocs-web-app-$randomIdentifier”
Create a resource group.
echo “Creating $resourceGroup in “$location”…”
az group create –name $resourceGroup –location “$location” –tag $tag
Create an App Service plan in SHARED tier (minimum required by custom domains).
echo “Creating $appServicePlan”
az appservice plan create –name $appServicePlan –resource-group $resourceGroup –sku SHARED
Create a web app.
echo “Creating $webapp”
az webapp create –name $webapp –resource-group $resourceGroup –plan $appServicePlan
Copy the result of the following command into a browser to see the static HTML site.
site=”http://$webapp.azurewebsites.net”
echo $site
curl “$site”
fqdn=<Replace with www.{yourdomain}>
az webapp config hostname add –webapp-name $webappname –resource-group myResourceGroup –hostname $fqdn echo “You can now browse to http://$fqdn”

Data Engineering
The difference between GRS and RA GRS is fairly simple, GRS only allows to be read in the secondary zone in the even of a failover from the primary to secondary while RA GRS allows the option to read in the secondary whenever.





