Office 365 next level Security:
Web Service Impersonation in AzureAD
Johannes Linder
Johannes Linder
SharePoint since 2010
Dynamics CRM since 2013
dox42 since 2013
Lego since 1989 & 2001
IT Security in 2017
What is Azure Active Directory?
What is dox42?
Live Time: Impersonation Client and Server
Call Webservice / Generate Document in SharePoint
Register Client/Server in Azure AD
Call Webservice from Client/Server
Q&A
Agenda
There are only two types of companies: those that have been hacked,
and those that will be.
Even that is merging into one category: those that have been hacked
and will be again.
Robert Mueller, FBI Direktor
IT Security in 2017
 General Data Protection Regulation (GDPR)
 Ransomware
 Data Leaks and Breaches
 On-Premises vs. Cloud
 Multi App Environment – Multi Leak Environment
 Big Data, IoT, digital Transformation
IT Security in 2017Where to start?
Which authentication method makes sense?
Anonymous
low security requirement
transformation only
Website
Service Account
easy to maintain
Password Management
IP Restriction on-premise
(Server-Domain
Communication)
Impersonation
traceability
full person/group control
Implementation
(Kerberos, AAD, Apps, ADFS,
Windows Accounts)
Security / Traceability / Complexity
Azure Active Directory
Azure Active Directory (Azure AD) is Microsoft’s multi-tenant, cloud
based directory and identity management service.
Azure AD combines core directory services, advanced identity
governance, and application access management.
Azure Active Directory
Impersonation with Azure AD
for selected Office 365 Application
 service "is" the client
 per User
 per Application
 Token Authentication
 User / App maintenance in
AAD
 communication between
Office 365 Apps
Server
Client
Access in Client/Server Environment
Server
Add-Ins
Automatically generate documents from any Application
Admin and User friendly
Data, images, tables, dynamic diagrams,
bar-codes, text modules,…
Generate in Office Client or through IIS Webservice
WebService
Data Base Custom
SharePoint
MS Dynamics
CRM, NAV, AX
Online & on Prem
Integrate data from various sources
Office 365 & on Prem
Client and Server Impersonation
Add-Ins
Design User
Server
Button | Workflow | URL
IIS Webservice
Open Save Mail Print Custom
Outputoptions – Impersonation sometimes is essential
Livetime: How to AAD Impersonation
LIVE DEMO
 SP connect und generate
 Add-In MA Liste generieren– Abfrage Microsoft Account
 AAD Admin Portal:
• App registrations – Server und Add-In > Properties Application ID; Redirect URL (könnte iwas sein);
• SP Datenquelle> Test>Config Office AAD > Add-In reg und Server reg > Consent bestätigen
• Client Key ist „Silent Login“ – benötigt damit sich der Server wirklich einloggen darf – Meldet sich mit Token und
Client Key im Azure an
• Server ist Web App in der Reg; Add-In ist „Native“ > Login durch User am Client
• Javascript macht die Zauberei, dass Server sich einloggt; Add-In ist über O365 AAD Konfig korrekt eingeloggt
 2ter User mit Celina Bentley - impersonierung für dox42; Szenario am SPS Belgium auggebaut
 2. Szenario Sales Report; 3. Szenario PPT
 Doku: Product > AAD
Impersonation Button in SharePoint
Download Document
Word Template and generated PDF
Login in Client
Generated with Impersonation in Word
Settings in Office 365 AAD Admin Center
Settings for Server
Grant Permissions to Service
Saved to SharePoint with User Impersonation
Server
Client
Access Structure in Client/Server Environment
Server
Add-Ins
Access with Token #2
Data with Token #1
Data with Token #2
Access with Token #1
Sources / Link to Blog Article with Walkthrough
Rob Windsor, MVP:
https://blogs.msmvps.com/windsor/2017/03/12/walkth
rough-building-a-custom-web-api-for-use-with-
sharepoint-online/
IT Security in 2017
What is Azure Active Directory?
What is dox42?
Live Time: Impersonation Client and Server
Call Webservice / Generate Document in SharePoint
Register Client/Server in Azure AD
Call Webservice from Client/Server
Q&A
Recap
Takeaways
Almost SharePint o‘clock!
But First Q+A!
Johannes Linder
johannes.linder@dox42.com
@jo_linder
johanneslinder

Office 365 next level security - Web Service Impersonation in Azure Active Directory

  • 1.
    Office 365 nextlevel Security: Web Service Impersonation in AzureAD Johannes Linder
  • 2.
    Johannes Linder SharePoint since2010 Dynamics CRM since 2013 dox42 since 2013 Lego since 1989 & 2001
  • 3.
    IT Security in2017 What is Azure Active Directory? What is dox42? Live Time: Impersonation Client and Server Call Webservice / Generate Document in SharePoint Register Client/Server in Azure AD Call Webservice from Client/Server Q&A Agenda
  • 4.
    There are onlytwo types of companies: those that have been hacked, and those that will be. Even that is merging into one category: those that have been hacked and will be again. Robert Mueller, FBI Direktor
  • 5.
    IT Security in2017  General Data Protection Regulation (GDPR)  Ransomware  Data Leaks and Breaches  On-Premises vs. Cloud  Multi App Environment – Multi Leak Environment  Big Data, IoT, digital Transformation
  • 6.
    IT Security in2017Where to start?
  • 7.
    Which authentication methodmakes sense? Anonymous low security requirement transformation only Website Service Account easy to maintain Password Management IP Restriction on-premise (Server-Domain Communication) Impersonation traceability full person/group control Implementation (Kerberos, AAD, Apps, ADFS, Windows Accounts) Security / Traceability / Complexity
  • 8.
    Azure Active Directory AzureActive Directory (Azure AD) is Microsoft’s multi-tenant, cloud based directory and identity management service. Azure AD combines core directory services, advanced identity governance, and application access management.
  • 9.
  • 10.
    Impersonation with AzureAD for selected Office 365 Application  service "is" the client  per User  per Application  Token Authentication  User / App maintenance in AAD  communication between Office 365 Apps
  • 11.
    Server Client Access in Client/ServerEnvironment Server Add-Ins
  • 12.
    Automatically generate documentsfrom any Application Admin and User friendly Data, images, tables, dynamic diagrams, bar-codes, text modules,…
  • 13.
    Generate in OfficeClient or through IIS Webservice
  • 14.
    WebService Data Base Custom SharePoint MSDynamics CRM, NAV, AX Online & on Prem Integrate data from various sources Office 365 & on Prem
  • 15.
    Client and ServerImpersonation Add-Ins Design User Server Button | Workflow | URL IIS Webservice
  • 16.
    Open Save MailPrint Custom Outputoptions – Impersonation sometimes is essential
  • 17.
    Livetime: How toAAD Impersonation
  • 18.
    LIVE DEMO  SPconnect und generate  Add-In MA Liste generieren– Abfrage Microsoft Account  AAD Admin Portal: • App registrations – Server und Add-In > Properties Application ID; Redirect URL (könnte iwas sein); • SP Datenquelle> Test>Config Office AAD > Add-In reg und Server reg > Consent bestätigen • Client Key ist „Silent Login“ – benötigt damit sich der Server wirklich einloggen darf – Meldet sich mit Token und Client Key im Azure an • Server ist Web App in der Reg; Add-In ist „Native“ > Login durch User am Client • Javascript macht die Zauberei, dass Server sich einloggt; Add-In ist über O365 AAD Konfig korrekt eingeloggt  2ter User mit Celina Bentley - impersonierung für dox42; Szenario am SPS Belgium auggebaut  2. Szenario Sales Report; 3. Szenario PPT  Doku: Product > AAD
  • 19.
  • 20.
  • 21.
    Word Template andgenerated PDF
  • 22.
  • 23.
  • 24.
    Settings in Office365 AAD Admin Center
  • 25.
  • 26.
  • 27.
    Saved to SharePointwith User Impersonation
  • 28.
    Server Client Access Structure inClient/Server Environment Server Add-Ins Access with Token #2 Data with Token #1 Data with Token #2 Access with Token #1
  • 29.
    Sources / Linkto Blog Article with Walkthrough Rob Windsor, MVP: https://blogs.msmvps.com/windsor/2017/03/12/walkth rough-building-a-custom-web-api-for-use-with- sharepoint-online/
  • 30.
    IT Security in2017 What is Azure Active Directory? What is dox42? Live Time: Impersonation Client and Server Call Webservice / Generate Document in SharePoint Register Client/Server in Azure AD Call Webservice from Client/Server Q&A Recap
  • 31.
  • 33.
  • 34.

Hinweis der Redaktion

  • #4 Before we get into the Session: Who is developer? Who is Administrator? Who is a User?
  • #6 Ransom Trojan in Hospitals Equifax half of American Population; Yahoo 500 Million Users; Linkedin: Hacked in 2012 – revelead 2016
  • #14 schrift
  • #15 symbol
  • #19 SP connect und generate Add-In MA Liste generieren– Abfrage Microsoft Account AAD Admin Portal: App registrations – Server und Add-In > Properties Application ID; Redirect URL (könnte iwas sein); SP Datenquelle> Test>Config Office AAD > Add-In reg und Server reg > Consent bestätigen Client Key ist „Silent Login“ – benötigt damit sich der Server wirklich einloggen darf – Meldet sich mit Token und Client Key im Azure an Server ist Web App in der Reg; Add-In ist „Native“ > Login durch User am Client Javascript macht die Zauberei, dass Server sich einloggt; Add-In ist über O365 AAD Konfig korrekt eingeloggt 2ter User mit Celina Bentley - impersonierung für dox42; Szenario am SPS Belgium auggebaut 2. Szenario Sales Report; 3. Szenario PPT
  • #31 Before we get into the Session: Who is developer? Who is Administrator? Who is a User?