SlideShare a Scribd company logo
INTRODUCTION TO AZURE WEB APPLICATIONS
Eric Shupps
Office Servers and Services MVP
DIAMOND, PLATINUM AND GOLD SPONSORS
About Me
@eshupps sharepointcowboywww.sharepointcowboy.com
slideshare.net/eshupps linkedin.com/in/eshupps
Eric Shupps
Office Servers & Services MVP
Introduction
Model
Security
Creation and Configuration
Deployment
Agenda
INTRODUCTION
ACHTUNG!
Diese Sitzung entspricht nicht der DSGVO.
Bitte verlassen Sie jetzt, wenn Sie nicht
bemerkt werden möchten. Wir
versprechen zu vergessen, dass du jemals
hier warst.
Positioning
FullTrust
Coverage
Capability
Integration
Familiarity
Add-Ins
Contextual
PHA/SHA
Extensibility
Framework
X-Platform
Customizations
Modern
Azure
Flexible
SSO
Multi-Tenant
Deployment
Architecture
HostWeb
API’s
Azure
Web
Site
AppLauncher
MODEL
Model
WhatWorks What Doesn’t
Scope
• Single-tenant
• Bound to single AD domain
• Cannot be accessed by other
domains
• Simplified authorization model
• Multi-tenant
• Owned by single authorizing
domain
• Accessible by any Azure AD
domain
• Authorized by Azure admin for
individual domains
• App owner must manage tenant
registration
SECURITY
Overview
PermissionsAuthorizationAuthentication
Authentication
• Authenticate via Azure sign-in page
• Developers cannot modify login experience
• User interface is suboptimal
• Single sign-on with O365 and other Azure resources
• Access to resources requires permission definition
• OAuth tokens for O365 and other resources
• POST to app with user/tenant details
• Context
• Explicit per endpoint
• App launcher in O365
• Users notified of app availability in alerts
Authorization Flows
Authorization
Exchange
authorization codes
for access tokens
Refresh tokens enable
long-lived sessions
Designed for native
clients and server-
side API’s
Client
Credential
Requires app
authorization consent
from administrator
Shared secrets or
certificates used to
request tokens
Designed for service
apps and server-to-
server scenarios
Implicit
Retrieve access
tokens directly from
single endpoint
No refresh tokens
(local session
management only)
Designed for SPA's
(requires manifest
modification)
Authorization
• Multi-tenant
• Manifest: oauth2AllowImplicitFlow = true (SPA, JavaScript)
• Token and authorization endpoints
• Tenant ID = “common” for multi-tenant
• WSFED “common” endpoint
• Consent
• Non-customizable consent page in MSFT domain
GET: https://login.microsoftonline.com/common/oauth2/authorize?client_id={client
ID}& response_type=token&redirect_uri={redirect URI}
Token Management
• Use authorization/request tokens to obtain short-lived
access tokens
• Include access tokens in resource calls
• Store refresh tokens to obtain new access tokens upon
expiration
• Track tokens by tenant (multi-tenant), app or user
• Force token expiration to prompt authentication
• Utilize client secret only in confidential client apps
Token Configuration
Property Policy String Affects Default Minimum Maximum
Access Token Lifetime AccessTokenLifetime Access tokens, ID
tokens, SAML 2
tokens
1 hour 10 minutes 1 day
Refresh Token Max
Inactive Time
MaxInactiveTime Refresh tokens 90 days 10 minutes 90 days
Single-Factor Refresh
Token Max Age
MaxAgeSingleFactor Refresh tokens (for
any users)
Until revoked 10 minutes Until revoked
Multi-Factor Refresh
Token Max Age
MaxAgeMultiFactor Refresh tokens (for
any users)
Until revoked 10 minutes Until revoked
Single-Factor Session
Token Max Age
MaxAgeSessionSingle
Factor
Session tokens
(persistent and non-
persistent)
Until revoked 10 minutes Until revoked
Multi-Factor Session
Token Max Age
MaxAgeSessionMultiF
actor
Session tokens
(persistent and non-
persistent)
Until revoked 10 minutes Until revoked
Reference: http://bit.ly/2IUuJNo
Permissions
• Types
• Application
• Delegated
• Administrative Level
• Minimum: “Sign in and read user profile”
• Beware permission level restrictions
• Resources
• Exchange Yammer AzureAD
• SharePointOnline Power BIAzure Management
• O365 Management Skype
Consuming SharePointAPI’s
• App-only access tokens
• Client ID and Client Secret
• Certificate exchange
• PowerShell
https://bit.ly/2JB8Uzc
• appregnew.aspx & appinv.aspx
https://bit.ly/2HCDHLx
• Permission Scope
• Administrative Consent
CREATION AND CONFIGURATION
DEMO
Creating a Sample AzureWeb Application
Configuration
• Name
• Sign-On URL
• Logo
• Multi-tenant
• Client ID
• User Assignment
• Keys
• App ID URI
• Reply URL
• Permissions
MANIFEST
Multi-Tenant Requirements
• Visual Studio templates are incomplete
• What you need to make multi-tenant work:
• Database
• Tenants, IssuingAuthorityKeys, SignupTokens
• Registration Module
• XML Response Parser
• Tenant and User Information
• AuthTokens
• Federation, Realm and Identity Configuration
• HTTPS Redirection
• Sign-In Page (optional)
DEMO
Configuring a Multi-Tenant Azure Application
DEPLOYMENT
Deployment
• AD Apps
• SSL
• DNS
• SSO
• Permissions
• Multi-tenant
Configuration
•Servers, Networking,Authentication,Admin Access
•AzureAD Premium*
Resources
• AdminAuthorization
• User/GroupAssignment*
Distribution
Resources
Presentation: https://www.slideshare.net/eshupps
Code: https://github.com/eshupps/SPDemoAzureADREST
thank you
questions?
SHAREPOINTCOWBOY.COMESHUPPS

More Related Content

What's hot (20)

PPTX
Secure API Services in Node with Basic Auth and OAuth2
Stormpath
 
PPTX
Browser Security 101
Stormpath
 
PPTX
Spring Security
Boy Tech
 
PPT
Spring Security Introduction
Mindfire Solutions
 
PPTX
Multi-Tenancy with Spring Boot
Stormpath
 
PDF
Mobile Authentication for iOS Applications - Stormpath 101
Stormpath
 
PDF
Authentication: Cookies vs JWTs and why you’re doing it wrong
Derek Perkins
 
PDF
Cloudron bay lisa-presentation
Girish Ramakrishnan
 
PDF
SAML Protocol Overview
Mike Schwartz
 
PPTX
Spring Security 3
Jason Ferguson
 
PDF
Spring Security
Sumit Gole
 
PPTX
Spring Security
Manish Sharma
 
PPTX
Modern Management for Identiteter og Enheter – Azure AD, Intune og Windows 10
MVP Dagen
 
PPTX
Spring security
sakhibarun
 
PPT
Jasig Central Authentication Service in Ten Minutes
Andrew Petro
 
PDF
SSO using CAS + two-factor authentication (PyGrunn 2014 talk)
Artur Barseghyan
 
PPTX
Security asp.net application
ZAIYAUL HAQUE
 
PDF
Alfresco: Implementing secure single sign on (SSO) with OpenSAML
J V
 
PDF
There's a Plugin for That
Stephanie Leary
 
PDF
J2EE Security with Apache SHIRO
Cygnet Infotech
 
Secure API Services in Node with Basic Auth and OAuth2
Stormpath
 
Browser Security 101
Stormpath
 
Spring Security
Boy Tech
 
Spring Security Introduction
Mindfire Solutions
 
Multi-Tenancy with Spring Boot
Stormpath
 
Mobile Authentication for iOS Applications - Stormpath 101
Stormpath
 
Authentication: Cookies vs JWTs and why you’re doing it wrong
Derek Perkins
 
Cloudron bay lisa-presentation
Girish Ramakrishnan
 
SAML Protocol Overview
Mike Schwartz
 
Spring Security 3
Jason Ferguson
 
Spring Security
Sumit Gole
 
Spring Security
Manish Sharma
 
Modern Management for Identiteter og Enheter – Azure AD, Intune og Windows 10
MVP Dagen
 
Spring security
sakhibarun
 
Jasig Central Authentication Service in Ten Minutes
Andrew Petro
 
SSO using CAS + two-factor authentication (PyGrunn 2014 talk)
Artur Barseghyan
 
Security asp.net application
ZAIYAUL HAQUE
 
Alfresco: Implementing secure single sign on (SSO) with OpenSAML
J V
 
There's a Plugin for That
Stephanie Leary
 
J2EE Security with Apache SHIRO
Cygnet Infotech
 

Similar to ECS 2018: Introduction to Azure Web Applications (20)

POTX
Mastering Modern Authentication and Authorization for SharePoint and Office A...
Eric Shupps
 
PPTX
Tools and competences on dev ops
Radu Vunvulea
 
PPTX
Tools and competences on DevOps for 2020
Radu Vunvulea
 
PDF
SPUnite17 Introduction to Azure Web Applications
NCCOMMS
 
PPTX
Single sign on - benefits, challenges and case study : iFour consultancy
Devam Shah
 
PPTX
Building Multi-tenant, Configurable, High Quality Applications on .NET for an...
Techcello
 
PPTX
Building Multi-tenant, Configurable, High Quality Applications on .NET for an...
Techcello
 
PPTX
Aws iam best practices to live by
John Varghese
 
PPTX
Building multi tenant highly secured applications on .net for any cloud - dem...
kanimozhin
 
PPTX
Techcello hp-arch workshop
kanimozhin
 
PDF
Password management
PortalGuard dba PistolStar, Inc.
 
PDF
Advanced Security Masterclass - Tel Aviv Loft
Ian Massingham
 
PPTX
Ladies Be Architects - Study Group III: OAuth 2.0 (Ep 1)
gemziebeth
 
PPTX
An Authentication and Authorization Architecture for a Microservices World
VMware Tanzu
 
PDF
ConFoo 2015 - Securing RESTful resources with OAuth2
Rodrigo Cândido da Silva
 
PDF
ForgeRock Platform Release - Summer 2016
ForgeRock
 
PDF
Introduction to Azure Web Applications
JoAnna Cheshire
 
PPTX
Safenet Authentication Service, SAS
robbuddingh
 
PPTX
Service Management Dec 11
clarendonint
 
PPTX
Service management Dec 11
Richard Conway
 
Mastering Modern Authentication and Authorization for SharePoint and Office A...
Eric Shupps
 
Tools and competences on dev ops
Radu Vunvulea
 
Tools and competences on DevOps for 2020
Radu Vunvulea
 
SPUnite17 Introduction to Azure Web Applications
NCCOMMS
 
Single sign on - benefits, challenges and case study : iFour consultancy
Devam Shah
 
Building Multi-tenant, Configurable, High Quality Applications on .NET for an...
Techcello
 
Building Multi-tenant, Configurable, High Quality Applications on .NET for an...
Techcello
 
Aws iam best practices to live by
John Varghese
 
Building multi tenant highly secured applications on .net for any cloud - dem...
kanimozhin
 
Techcello hp-arch workshop
kanimozhin
 
Advanced Security Masterclass - Tel Aviv Loft
Ian Massingham
 
Ladies Be Architects - Study Group III: OAuth 2.0 (Ep 1)
gemziebeth
 
An Authentication and Authorization Architecture for a Microservices World
VMware Tanzu
 
ConFoo 2015 - Securing RESTful resources with OAuth2
Rodrigo Cândido da Silva
 
ForgeRock Platform Release - Summer 2016
ForgeRock
 
Introduction to Azure Web Applications
JoAnna Cheshire
 
Safenet Authentication Service, SAS
robbuddingh
 
Service Management Dec 11
clarendonint
 
Service management Dec 11
Richard Conway
 
Ad

More from Eric Shupps (20)

PPTX
Microsoft Ignite 2022 - Scaling, Securing, Managing, and Publishing Power Pla...
Eric Shupps
 
PPTX
Scaling, Securing, Managing, and Publishing Power Platform Custom Connectors....
Eric Shupps
 
PDF
A Beginners Guide to Custom Connectors for Power Apps and Power Automate
Eric Shupps
 
PDF
App to AppExchange - A Journey from Idea to Market for Salesforce Developers
Eric Shupps
 
PPTX
Beginners Guide to Custom Connectors for Power Apps and Power Automate
Eric Shupps
 
PPTX
OSW06 - A Real World Guide to Building Highly Available Fault Tolerant ShareP...
Eric Shupps
 
PPTX
OSH01 - Developing SharePoint Framework Solutions for the Enterprise
Eric Shupps
 
PPTX
Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)
Eric Shupps
 
PPTX
Developing SharePoint Framework Solutions for the Enterprise - SEF 2019
Eric Shupps
 
PPTX
SharePoint and Office 365 Development Workshop
Eric Shupps
 
POTX
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
Eric Shupps
 
PPTX
Overcoming Gender Imbalance in the Technical Field
Eric Shupps
 
PPTX
Enterprise Content Management Solutions in SharePoint and Office 365
Eric Shupps
 
PPTX
Introduction to the Office Dev PnP Core Libraries
Eric Shupps
 
PPTX
SharePoint and Office Development Workshop
Eric Shupps
 
PPTX
From Zero to Hero: A Real World Guide to Building High Availability SharePoin...
Eric Shupps
 
PPTX
SharePoint and Office 365 Performance Best Practices
Eric Shupps
 
PPTX
Introduction to Azure Web Applications for Office and SharePoint Developers
Eric Shupps
 
PPTX
Introduction to Azure Web Applications for Office and SharePoint Developers
Eric Shupps
 
PPTX
Rev Your Engines - SharePoint Performance Best Practices
Eric Shupps
 
Microsoft Ignite 2022 - Scaling, Securing, Managing, and Publishing Power Pla...
Eric Shupps
 
Scaling, Securing, Managing, and Publishing Power Platform Custom Connectors....
Eric Shupps
 
A Beginners Guide to Custom Connectors for Power Apps and Power Automate
Eric Shupps
 
App to AppExchange - A Journey from Idea to Market for Salesforce Developers
Eric Shupps
 
Beginners Guide to Custom Connectors for Power Apps and Power Automate
Eric Shupps
 
OSW06 - A Real World Guide to Building Highly Available Fault Tolerant ShareP...
Eric Shupps
 
OSH01 - Developing SharePoint Framework Solutions for the Enterprise
Eric Shupps
 
Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)
Eric Shupps
 
Developing SharePoint Framework Solutions for the Enterprise - SEF 2019
Eric Shupps
 
SharePoint and Office 365 Development Workshop
Eric Shupps
 
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
Eric Shupps
 
Overcoming Gender Imbalance in the Technical Field
Eric Shupps
 
Enterprise Content Management Solutions in SharePoint and Office 365
Eric Shupps
 
Introduction to the Office Dev PnP Core Libraries
Eric Shupps
 
SharePoint and Office Development Workshop
Eric Shupps
 
From Zero to Hero: A Real World Guide to Building High Availability SharePoin...
Eric Shupps
 
SharePoint and Office 365 Performance Best Practices
Eric Shupps
 
Introduction to Azure Web Applications for Office and SharePoint Developers
Eric Shupps
 
Introduction to Azure Web Applications for Office and SharePoint Developers
Eric Shupps
 
Rev Your Engines - SharePoint Performance Best Practices
Eric Shupps
 
Ad

Recently uploaded (20)

DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Biography of Daniel Podor.pdf
Daniel Podor
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Advancing WebDriver BiDi support in WebKit
Igalia
 

ECS 2018: Introduction to Azure Web Applications

Editor's Notes

  • #23: S2S_Server S2S_App_HighTrust
  • #26: S2S_Server S2S_App_HighTrust