WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
1
SM
#SPEngage @pgbhoyar
Prashant G Bhoyar MVP
SharePoint Engage, Raleigh, NC http://sharepointinstitute.com/engage/sharepoint-engage-raleigh/
25 October 2017
Azure Active Directory (Azure AD)
for Office 365 Developers
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
2
SM
#SPEngage @pgbhoyar
Who AM I ?
• Born and raised in India
• Came to United States of America in 2007 for studies
• University of Maryland College Park Alumni
• Co-Author of the book “PowerShell for Office 365”
• Technical Reviewer of the book “Pro : SharePoint 2013 Administration”
• Organizer of SharePoint Saturday Baltimore (SPSBMORE)
➢ http://www.spsevents.org/city/baltimore/baltimoretecc
• Organizer of SharePoint Saturday DC ( SPSDC )
➢ http://www.spsevents.org/city/DC/summer2017
• Founder and Organizer of DC-Metro Office 365 User Group
➢ Monthly in person & online event
➢ http://www.meetup.com/DC-Metro-Office-365-User-Group/
• Recipient of Antarctic Service Medal
• Microsoft MVP ( Most Valuable Professional)
• Senior Consultant at Withum Smith and Brown PC
➢ http://www.portalsolutions.net/
➢ Former Portal Solutions
➢ Focus on Microsoft Solutions and Services
Prashant G Bhoyar
(PGB)
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
3
SM
#SPEngage @pgbhoyar
Withum Microsoft Solutions and Services
3
• Modern workplace
• Office 365 Implementations/
Migrations
• Turnkey Intranet Solution
• Managed Services
• Data Analytics
• Enterprise Mobility + Security
• Business Process Automation
• Dynamics 365
• Azure
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
4
SM
#SPEngage @pgbhoyar
• 100 Level Session
• What is Azure Active Directory?
• Why we need to use/learn Azure AD?
• Azure AD in the Enterprise
• Azure AD in the Office 365
• How to get started?
• Demos
• Key Takeaways
• Q&A
Agenda
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
5
SM
#SPEngage @pgbhoyar
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
6
SM
#SPEngage @pgbhoyar
Audience Poll
▪ How many of you are Power Users?
▪ How many of you are Business Users?
▪ How many of you are IT pros?
▪ How many of you are Developers?
▪ How many of you are already using Azure Active Directory?
▪ How many of you have built custom membership/role provider?
6
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
7
SM
#SPEngage @pgbhoyar
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
8
SM
#SPEngage @pgbhoyar
8
How to get Personal Office 365
Development Tenant?
▪ Sign up for Office 365 Developer
Program at http://dev.office.com/
▪ Get 1 year of Office 365 subscription for
free
▪ Excellent for personal development use
▪ 1 Month Trial
▪ https://products.office.com/en-
us/business/compare-office-365-for-
business-plans
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
9
SM
#SPEngage @pgbhoyar
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
10
SM
#SPEngage @pgbhoyar
10
How to get personal Azure Subscription?
▪ If you have MSDN Enterprise subscription
▪ You can get $150/month Azure credits for free
▪ Sign Up for Free trial :
https://azure.microsoft.com/
▪ Credit Card is required
▪ Microsoft Imagine
▪ Former Dreamspark
▪ https://imagine.microsoft.com/en-us
▪ No credit card required
▪ Valid .edu account from participating
school/institution
▪ Limited feature sets
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
11
SM
#SPEngage @pgbhoyar
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
12
SM
#SPEngage @pgbhoyar
Authentication & Authorization
Authentication Authorization
• Always the First Step
• Confirms the Identity
• Example : Security queue at Airport
• Comes after Authentication
• Confirms the access level
based on permissions
• Example : Flight Boarding Pass
at the Airport gate
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
13
SM
#SPEngage @pgbhoyar
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
14
SM
#SPEngage @pgbhoyar
▪ It is Software as a service offering
(SaaS)
▪ It is Microsoft’s multi tenant cloud
based directory and identity
management service
▪ It provides Single Sign on (SSO)
between many applications like
Office 365, Salesforce.com,
Dropbox etc
14
Source :https://azure.microsoft.com/en-us/documentation/articles/active-directory-whatis/
What is Azure Active Directory?
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
15
SM
#SPEngage @pgbhoyar
▪ It is highly reliable and runs out of
28 data centers around the world
▪ Office 365, Dynamic CRM online
customers uses Azure AD
▪ You don’t need to subscribe to
Office 365 or Dynamics CRM to
get the Azure AD
15
Source :https://azure.microsoft.com/en-us/documentation/articles/active-directory-whatis/
What is Azure Active Directory?
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
16
SM
#SPEngage @pgbhoyar
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
17
SM
#SPEngage @pgbhoyar
Why We Should Care About Azure AD?
▪ This is golden age for technical innovation
▪ The “New” Microsoft is launching lot of new services/products
rapidly
▪ But the life span of new productions/services is decreasing
• Access Services : https://techcommunity.microsoft.com/t5/Office-
Retirement-Blog/Updating-the-Access-Services-in-SharePoint-Roadmap/ba-
p/57148
▪ We need to spend some time doing research before investing time
to learn/explore new product/services
17
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
18
SM
#SPEngage @pgbhoyar
Why We Should Care About Azure AD?
▪ Azure AD is the defacto authentication choice in the Microsoft World
▪ It is backbone of Office 365 and Azure and we should learn it or at least get
familiar with it
▪ The name is misleading
• Lot of developers think AD means IT Pro Stuff…☺
▪ It is basically an authentication and authorization service provided as a
subscription
▪ It enables Application developers to focus on building the applications
18
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
19
SM
#SPEngage @pgbhoyar
▪ Only Azure Active Directory
▪ Less common
▪ Local Active Directory Synced with
Azure AD
▪ Common
▪ Azure Active Directory Domain
Services
▪ Domain Join Win 10 and Win 2016
machines
19
Source : https://docs.microsoft.com/en-us/azure/active-directory/active-directory-aadconnect
Scenarios
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
20
SM
#SPEngage @pgbhoyar
Azure AD in the Enterprise
▪ Synced with on-premises users
▪ Enable SSO between many applications
▪ Can be used with any development platform
▪ Can be used instead of ASP.NET Identity
Source :https://docs.com/OfficeDevPnP/4436/pnp-web-cast-what-should-every-sharepoint?fromAR=1
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
21
SM
#SPEngage @pgbhoyar
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
22
SM
#SPEngage @pgbhoyar
Azure AD Pricing
▪ Comes in 4 editions
• Free
• Basic
• Premium P1
• Premium P2
22
Source :https://azure.microsoft.com/en-us/pricing/details/active-directory/
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
23
SM
#SPEngage @pgbhoyar
Azure AD Pricing
Features Free Basic Premium
P1
Premium
P2
Directory Objects 500,000 object limit No object limit No Object Limit No Object Limit
Single Sign-On (SSO) 10 apps per user 10 apps per user No Limit No Limit
Join a device to Azure AD, Desktop SSO, Microsoft
Passport for Azure AD, Administrator Bitlocker recovery
Yes Yes Yes Yes
Company Branding (Logon Pages/Access Panel
customization)
Yes Yes Yes
Multi-Factor Authentication Yes Yes
Pricing 1$ User/Month $6 User/Month $9 User/Month
Source :https://azure.microsoft.com/en-us/pricing/details/active-directory/
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
24
SM
#SPEngage @pgbhoyar
Azure AD and Office 365
▪ Every Office 365 tenant has Azure AD
▪ SharePoint Online Add-ins (AppRegNew.aspx) are enrolled in
Azure AD
▪ In Azure AD we can authorize web applications to access other
tenant data
▪ Azure AD has much more user data
▪ The Microsoft Graph API
• We need to get the access token from Azure AD first to make the call
Source :
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
25
SM
#SPEngage @pgbhoyar
Azure AD and Office 365 Applications
▪ Azure AD stores custom application registration
• Web or REST API
• Native Application
▪ OpenID for Authentication and OAuth 2.0 for authorization
▪ Enforces authorization rules
• Between applications and API
• Out of the box registered API for Office 365
• Or Custom Implemented REST API Services
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
26
SM
#SPEngage @pgbhoyar
Azure AD auth endpoints
Work and school Personal
with ADAL
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
27
SM
#SPEngage @pgbhoyar
App Registration v1.0
▪ Any Application that uses Azure AD for authentication must be
registered in Azure AD
▪ To register an App we need
• Application ID URI
 Identifier for application
• Reply URL
 Azure AD will do a redirect to this url after successful authentication
• ClientID
 Unique ID ( GUID) for application generated by Azure AD
• Permissions
 What access right does this App will have?
Source :https://docs.microsoft.com/en-us/azure/active-directory/active-directory-integrating-
applications
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
28
SM
#SPEngage @pgbhoyar
App registration v2.0
Create a new application
https://apps.dev.microsoft.com
A unique Id is created for your app
Add app platform
• Web App, SPA, Daemon
• Native App
• Web API (Office Add-in)
Add permissions for admin consent
flows
• For delegated access for all users
in the organization
• For application access
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
29
SM
#SPEngage @pgbhoyar
App types and permissions
Users can consent for their data or admin can consent for all users Only admin can consent
Delegated
permissions
User
privileges
App
permissions
Permission type: applicationPermission type: delegated
https://developer.microsoft.com/en-us/graph/docs/concepts/permissions_reference
Get access on behalf of users Get access as a service
Effective permissionEffective permission
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
30
SM
#SPEngage @pgbhoyar
Auth
access_token
MSAL or
ADAL
YOUR APP
Your
Application
id_token
access_token refresh_toke
n
Microsoft
Identity
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
31
SM
#SPEngage @pgbhoyar
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
32
SM
#SPEngage @pgbhoyar
Q&A
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
33
SM
#SPEngage @pgbhoyar
Key Takeaways
▪ Hopefully the contents we covered today made you to explore Azure
AD and you will go home and play with it ☺
▪ Sign up for Developer Program using https://dev.office.com/
▪ Check out Microsoft Graph APIs
• https://developer.microsoft.com/en-us/graph/
▪ Spend some time doing research before investing time to
learn/explore new product/services
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
34
SM
#SPEngage @pgbhoyar
References
Appendix/Resources
Getting Started
https://azure.microsoft.com/en-us/documentation/articles/active-directory-whatis/
https://azure.microsoft.com/en-us/documentation/articles/active-directory-developers-guide/
Pricing
https://azure.microsoft.com/en-us/pricing/details/active-directory/
WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH
35
SM
#SPEngage @pgbhoyar
Questions? Feedback? Contact me:
▪ Email: pgbhoyar@gmail.com
▪ Twitter: @PGBhoyar
▪ Blog: http://pgbhoyar.com
▪ LinkedIn: https://www.linkedin.com/in/prashant-g-bhoyar-3008587/
▪ Slides: https://www.slideshare.net/pgbhoyar
▪ Feedback : Please provide feedback
▪ Email or
▪ Anonymous Suggestions: https://www.suggestionox.com/r/pgb
Thank You
Organizers, Sponsors and You for Making this Possible.

More Related Content

PDF
Azure Active Directory for Office 365 Developers SPFEST DC 2018
PDF
Azure Active Directory (Azure AD) for office 365 Developers : SPFestDC 2019
PPSX
SharePoint 2007 and 2010 + Use Cases
PDF
[McDermott] Configuring SharePoint Hybrid Search and Taxonomy
PPTX
SharePoint 2016 Search
PDF
ECS2018 - Accelerate success and time to-value for Office 365 with best pract...
PPTX
A Power User's intro to jQuery awesomeness in SharePoint
PDF
Building Business Applications for Office 365 SharePoint Online using Azure M...
Azure Active Directory for Office 365 Developers SPFEST DC 2018
Azure Active Directory (Azure AD) for office 365 Developers : SPFestDC 2019
SharePoint 2007 and 2010 + Use Cases
[McDermott] Configuring SharePoint Hybrid Search and Taxonomy
SharePoint 2016 Search
ECS2018 - Accelerate success and time to-value for Office 365 with best pract...
A Power User's intro to jQuery awesomeness in SharePoint
Building Business Applications for Office 365 SharePoint Online using Azure M...

What's hot (20)

PDF
O365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
PDF
Getting Started With SharePoint REST API in Nintex Workflows for Office 365 I...
PPTX
A Power User's Introduction to jQuery Awesomeness in SharePoint
PPTX
ECS19 - Tomislav Lulic - What is changed in product/service licensing with Cl...
PPTX
ECS19 - Mike Ammerlaan - The Microsoft 365 Platform: A Developer’s Tour
PDF
ECS19 - Dragan Panjkov - Connecting Enterprise Software With Flow
PDF
ECS19 - Michael Greth - Best Practice with Company Video on Microsoft Stream
PPTX
Citizen Developers Intro to jQuery Customizations in SharePoint
PPTX
Utilizing jQuery in SharePoint: Get More Done Faster
PPTX
SPSNYC - Next Generation Portals
PDF
Collab365 - [FRENCH] Nouvelles options pour SharePoint 2016 et Office 365 c’e...
PDF
The missing key: Azure AD for developers
PPTX
SharePoint 2016 - What's New, What's Not
PDF
Metalogix roadshow 2016 Paris - Keynote SharePoint et Office 365
PDF
Delve and the Office Graph for IT- Pros & Admins
PDF
[Carius] Skype Online, Teams, and PSTN
PPTX
What's new in sharepoint 2016
PPTX
ECS19 - Michael Noel - Replacing Third-Party Solutions with Office 365 Tools
PDF
SharePoint 2016: Features Overview
PPTX
SPSNL17 - The business & end-user guide into the new and modern SharePoint! -...
O365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
Getting Started With SharePoint REST API in Nintex Workflows for Office 365 I...
A Power User's Introduction to jQuery Awesomeness in SharePoint
ECS19 - Tomislav Lulic - What is changed in product/service licensing with Cl...
ECS19 - Mike Ammerlaan - The Microsoft 365 Platform: A Developer’s Tour
ECS19 - Dragan Panjkov - Connecting Enterprise Software With Flow
ECS19 - Michael Greth - Best Practice with Company Video on Microsoft Stream
Citizen Developers Intro to jQuery Customizations in SharePoint
Utilizing jQuery in SharePoint: Get More Done Faster
SPSNYC - Next Generation Portals
Collab365 - [FRENCH] Nouvelles options pour SharePoint 2016 et Office 365 c’e...
The missing key: Azure AD for developers
SharePoint 2016 - What's New, What's Not
Metalogix roadshow 2016 Paris - Keynote SharePoint et Office 365
Delve and the Office Graph for IT- Pros & Admins
[Carius] Skype Online, Teams, and PSTN
What's new in sharepoint 2016
ECS19 - Michael Noel - Replacing Third-Party Solutions with Office 365 Tools
SharePoint 2016: Features Overview
SPSNL17 - The business & end-user guide into the new and modern SharePoint! -...
Ad

Similar to SPEngage Raleigh 2017 Azure Active Directory For Office 365 Developers (20)

PDF
Identity and Access Management from Microsoft and Razor Technology
PPTX
2018 November - AZUGDK - Azure AD
PPTX
Azure AD Presentation - @ BITPro - Ajay
PDF
Ms cloud identity and access infographic 2015
PDF
MS Cloud Identity and Access Infographic 2015 (1)
PPTX
History of Content Security: Take 2 - ShareCloudSummit Houston
PPTX
Azure AD with Office 365 and Beyond!
PDF
CIAOPS Need to Know Azure Webinar - January 2018
PPTX
What's new in Azure Active Directory and what's coming new ?
PPTX
Microsoft Azure Identity and O365
PPTX
What small businesses need to know about Azure AD premium
PPTX
Identity and o365 on Azure
DOCX
Active directory-from-on-premises-to-the-cloud
PPTX
Administrators guide to managing Microsoft 365 and collaboration workloads - ...
PPTX
Make IT Pro's great again: Microsoft Azure for the SharePoint professional
PPTX
Office 365 Saturday - Office 365 Security Best Practices
PPTX
MTX Portland Office 365 Strategic Capabilities Sep2017
PPTX
Administering power platform deployment planning
PDF
Introduction to Microsoft Enterprise Mobility + Security
PPTX
Microsoft identity manoj mittal
Identity and Access Management from Microsoft and Razor Technology
2018 November - AZUGDK - Azure AD
Azure AD Presentation - @ BITPro - Ajay
Ms cloud identity and access infographic 2015
MS Cloud Identity and Access Infographic 2015 (1)
History of Content Security: Take 2 - ShareCloudSummit Houston
Azure AD with Office 365 and Beyond!
CIAOPS Need to Know Azure Webinar - January 2018
What's new in Azure Active Directory and what's coming new ?
Microsoft Azure Identity and O365
What small businesses need to know about Azure AD premium
Identity and o365 on Azure
Active directory-from-on-premises-to-the-cloud
Administrators guide to managing Microsoft 365 and collaboration workloads - ...
Make IT Pro's great again: Microsoft Azure for the SharePoint professional
Office 365 Saturday - Office 365 Security Best Practices
MTX Portland Office 365 Strategic Capabilities Sep2017
Administering power platform deployment planning
Introduction to Microsoft Enterprise Mobility + Security
Microsoft identity manoj mittal
Ad

More from Prashant G Bhoyar (Microsoft MVP) (20)

PDF
Building Intelligent bots using microsoft bot framework and cognitive service...
PDF
Microsoft Flow for SharePoint Designer Workflow Professionals-SPFestDC2019
PDF
Getting Started with SharePoint Patterns and Practices Provisioning Engine-SP...
PDF
Microsoft Bot Framework for SharePoint Developers-SPFestDC2019
PDF
Microsoft Flow For Developers
PDF
Introduction to AI and Cognitive Services For Microsoft 365 Developers and In...
PDF
Introduction to AI and Cognitive Services for O365 Devs Azure Bootcamp Reston
PDF
Getting started with Microsoft Graph APIs SP FEST DC 2018
PDF
Introduction to AI and Cognitive Services for Office 365 Developers SPFest DC...
PDF
Getting started with Office 365 SharePoint Online Workflows : SharePoint Fest...
PDF
Getting Started with SharePoint REST APIs in Custom Sharepoint Workflows - SP...
PDF
Getting Started with Office 365 Developers Patterns and Practices Provisionin...
PDF
Getting Started with Microsoft Graph API SPTechCon Washington DC 2017
PDF
Writing Futuristic Workflows in Office 365 SharePoint On Prem 2013 2016 - SPT...
PDF
Getting started with SharePoint REST API in custom SharePoint workflows Resto...
PDF
Writing Futuristic Workflows in Office 365 SharePoint 2013 2016 on premise
PPTX
Writing futuristic workflows in office 365 SharePoint 2013 2016 on premise
PDF
SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...
PDF
Future Proofing your Workflow Investment How to Develop Maintainable Custom W...
PDF
Building Business Applications in Office 365 SharePoint Online Using Logic Apps
Building Intelligent bots using microsoft bot framework and cognitive service...
Microsoft Flow for SharePoint Designer Workflow Professionals-SPFestDC2019
Getting Started with SharePoint Patterns and Practices Provisioning Engine-SP...
Microsoft Bot Framework for SharePoint Developers-SPFestDC2019
Microsoft Flow For Developers
Introduction to AI and Cognitive Services For Microsoft 365 Developers and In...
Introduction to AI and Cognitive Services for O365 Devs Azure Bootcamp Reston
Getting started with Microsoft Graph APIs SP FEST DC 2018
Introduction to AI and Cognitive Services for Office 365 Developers SPFest DC...
Getting started with Office 365 SharePoint Online Workflows : SharePoint Fest...
Getting Started with SharePoint REST APIs in Custom Sharepoint Workflows - SP...
Getting Started with Office 365 Developers Patterns and Practices Provisionin...
Getting Started with Microsoft Graph API SPTechCon Washington DC 2017
Writing Futuristic Workflows in Office 365 SharePoint On Prem 2013 2016 - SPT...
Getting started with SharePoint REST API in custom SharePoint workflows Resto...
Writing Futuristic Workflows in Office 365 SharePoint 2013 2016 on premise
Writing futuristic workflows in office 365 SharePoint 2013 2016 on premise
SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...
Future Proofing your Workflow Investment How to Develop Maintainable Custom W...
Building Business Applications in Office 365 SharePoint Online Using Logic Apps

Recently uploaded (20)

PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
Five Habits of High-Impact Board Members
PDF
UiPath Agentic Automation session 1: RPA to Agents
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PPTX
Configure Apache Mutual Authentication
PPTX
The various Industrial Revolutions .pptx
PDF
CloudStack 4.21: First Look Webinar slides
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PPTX
Build Your First AI Agent with UiPath.pptx
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Architecture types and enterprise applications.pdf
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
A proposed approach for plagiarism detection in Myanmar Unicode text
Five Habits of High-Impact Board Members
UiPath Agentic Automation session 1: RPA to Agents
Developing a website for English-speaking practice to English as a foreign la...
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
Configure Apache Mutual Authentication
The various Industrial Revolutions .pptx
CloudStack 4.21: First Look Webinar slides
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
sustainability-14-14877-v2.pddhzftheheeeee
Build Your First AI Agent with UiPath.pptx
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Benefits of Physical activity for teenagers.pptx
Architecture types and enterprise applications.pdf
Credit Without Borders: AI and Financial Inclusion in Bangladesh
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
Taming the Chaos: How to Turn Unstructured Data into Decisions

SPEngage Raleigh 2017 Azure Active Directory For Office 365 Developers

  • 1. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 1 SM #SPEngage @pgbhoyar Prashant G Bhoyar MVP SharePoint Engage, Raleigh, NC http://sharepointinstitute.com/engage/sharepoint-engage-raleigh/ 25 October 2017 Azure Active Directory (Azure AD) for Office 365 Developers
  • 2. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 2 SM #SPEngage @pgbhoyar Who AM I ? • Born and raised in India • Came to United States of America in 2007 for studies • University of Maryland College Park Alumni • Co-Author of the book “PowerShell for Office 365” • Technical Reviewer of the book “Pro : SharePoint 2013 Administration” • Organizer of SharePoint Saturday Baltimore (SPSBMORE) ➢ http://www.spsevents.org/city/baltimore/baltimoretecc • Organizer of SharePoint Saturday DC ( SPSDC ) ➢ http://www.spsevents.org/city/DC/summer2017 • Founder and Organizer of DC-Metro Office 365 User Group ➢ Monthly in person & online event ➢ http://www.meetup.com/DC-Metro-Office-365-User-Group/ • Recipient of Antarctic Service Medal • Microsoft MVP ( Most Valuable Professional) • Senior Consultant at Withum Smith and Brown PC ➢ http://www.portalsolutions.net/ ➢ Former Portal Solutions ➢ Focus on Microsoft Solutions and Services Prashant G Bhoyar (PGB)
  • 3. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 3 SM #SPEngage @pgbhoyar Withum Microsoft Solutions and Services 3 • Modern workplace • Office 365 Implementations/ Migrations • Turnkey Intranet Solution • Managed Services • Data Analytics • Enterprise Mobility + Security • Business Process Automation • Dynamics 365 • Azure
  • 4. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 4 SM #SPEngage @pgbhoyar • 100 Level Session • What is Azure Active Directory? • Why we need to use/learn Azure AD? • Azure AD in the Enterprise • Azure AD in the Office 365 • How to get started? • Demos • Key Takeaways • Q&A Agenda
  • 5. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 5 SM #SPEngage @pgbhoyar
  • 6. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 6 SM #SPEngage @pgbhoyar Audience Poll ▪ How many of you are Power Users? ▪ How many of you are Business Users? ▪ How many of you are IT pros? ▪ How many of you are Developers? ▪ How many of you are already using Azure Active Directory? ▪ How many of you have built custom membership/role provider? 6
  • 7. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 7 SM #SPEngage @pgbhoyar
  • 8. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 8 SM #SPEngage @pgbhoyar 8 How to get Personal Office 365 Development Tenant? ▪ Sign up for Office 365 Developer Program at http://dev.office.com/ ▪ Get 1 year of Office 365 subscription for free ▪ Excellent for personal development use ▪ 1 Month Trial ▪ https://products.office.com/en- us/business/compare-office-365-for- business-plans
  • 9. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 9 SM #SPEngage @pgbhoyar
  • 10. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 10 SM #SPEngage @pgbhoyar 10 How to get personal Azure Subscription? ▪ If you have MSDN Enterprise subscription ▪ You can get $150/month Azure credits for free ▪ Sign Up for Free trial : https://azure.microsoft.com/ ▪ Credit Card is required ▪ Microsoft Imagine ▪ Former Dreamspark ▪ https://imagine.microsoft.com/en-us ▪ No credit card required ▪ Valid .edu account from participating school/institution ▪ Limited feature sets
  • 11. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 11 SM #SPEngage @pgbhoyar
  • 12. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 12 SM #SPEngage @pgbhoyar Authentication & Authorization Authentication Authorization • Always the First Step • Confirms the Identity • Example : Security queue at Airport • Comes after Authentication • Confirms the access level based on permissions • Example : Flight Boarding Pass at the Airport gate
  • 13. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 13 SM #SPEngage @pgbhoyar
  • 14. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 14 SM #SPEngage @pgbhoyar ▪ It is Software as a service offering (SaaS) ▪ It is Microsoft’s multi tenant cloud based directory and identity management service ▪ It provides Single Sign on (SSO) between many applications like Office 365, Salesforce.com, Dropbox etc 14 Source :https://azure.microsoft.com/en-us/documentation/articles/active-directory-whatis/ What is Azure Active Directory?
  • 15. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 15 SM #SPEngage @pgbhoyar ▪ It is highly reliable and runs out of 28 data centers around the world ▪ Office 365, Dynamic CRM online customers uses Azure AD ▪ You don’t need to subscribe to Office 365 or Dynamics CRM to get the Azure AD 15 Source :https://azure.microsoft.com/en-us/documentation/articles/active-directory-whatis/ What is Azure Active Directory?
  • 16. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 16 SM #SPEngage @pgbhoyar
  • 17. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 17 SM #SPEngage @pgbhoyar Why We Should Care About Azure AD? ▪ This is golden age for technical innovation ▪ The “New” Microsoft is launching lot of new services/products rapidly ▪ But the life span of new productions/services is decreasing • Access Services : https://techcommunity.microsoft.com/t5/Office- Retirement-Blog/Updating-the-Access-Services-in-SharePoint-Roadmap/ba- p/57148 ▪ We need to spend some time doing research before investing time to learn/explore new product/services 17
  • 18. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 18 SM #SPEngage @pgbhoyar Why We Should Care About Azure AD? ▪ Azure AD is the defacto authentication choice in the Microsoft World ▪ It is backbone of Office 365 and Azure and we should learn it or at least get familiar with it ▪ The name is misleading • Lot of developers think AD means IT Pro Stuff…☺ ▪ It is basically an authentication and authorization service provided as a subscription ▪ It enables Application developers to focus on building the applications 18
  • 19. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 19 SM #SPEngage @pgbhoyar ▪ Only Azure Active Directory ▪ Less common ▪ Local Active Directory Synced with Azure AD ▪ Common ▪ Azure Active Directory Domain Services ▪ Domain Join Win 10 and Win 2016 machines 19 Source : https://docs.microsoft.com/en-us/azure/active-directory/active-directory-aadconnect Scenarios
  • 20. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 20 SM #SPEngage @pgbhoyar Azure AD in the Enterprise ▪ Synced with on-premises users ▪ Enable SSO between many applications ▪ Can be used with any development platform ▪ Can be used instead of ASP.NET Identity Source :https://docs.com/OfficeDevPnP/4436/pnp-web-cast-what-should-every-sharepoint?fromAR=1
  • 21. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 21 SM #SPEngage @pgbhoyar
  • 22. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 22 SM #SPEngage @pgbhoyar Azure AD Pricing ▪ Comes in 4 editions • Free • Basic • Premium P1 • Premium P2 22 Source :https://azure.microsoft.com/en-us/pricing/details/active-directory/
  • 23. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 23 SM #SPEngage @pgbhoyar Azure AD Pricing Features Free Basic Premium P1 Premium P2 Directory Objects 500,000 object limit No object limit No Object Limit No Object Limit Single Sign-On (SSO) 10 apps per user 10 apps per user No Limit No Limit Join a device to Azure AD, Desktop SSO, Microsoft Passport for Azure AD, Administrator Bitlocker recovery Yes Yes Yes Yes Company Branding (Logon Pages/Access Panel customization) Yes Yes Yes Multi-Factor Authentication Yes Yes Pricing 1$ User/Month $6 User/Month $9 User/Month Source :https://azure.microsoft.com/en-us/pricing/details/active-directory/
  • 24. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 24 SM #SPEngage @pgbhoyar Azure AD and Office 365 ▪ Every Office 365 tenant has Azure AD ▪ SharePoint Online Add-ins (AppRegNew.aspx) are enrolled in Azure AD ▪ In Azure AD we can authorize web applications to access other tenant data ▪ Azure AD has much more user data ▪ The Microsoft Graph API • We need to get the access token from Azure AD first to make the call Source :
  • 25. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 25 SM #SPEngage @pgbhoyar Azure AD and Office 365 Applications ▪ Azure AD stores custom application registration • Web or REST API • Native Application ▪ OpenID for Authentication and OAuth 2.0 for authorization ▪ Enforces authorization rules • Between applications and API • Out of the box registered API for Office 365 • Or Custom Implemented REST API Services
  • 26. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 26 SM #SPEngage @pgbhoyar Azure AD auth endpoints Work and school Personal with ADAL
  • 27. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 27 SM #SPEngage @pgbhoyar App Registration v1.0 ▪ Any Application that uses Azure AD for authentication must be registered in Azure AD ▪ To register an App we need • Application ID URI  Identifier for application • Reply URL  Azure AD will do a redirect to this url after successful authentication • ClientID  Unique ID ( GUID) for application generated by Azure AD • Permissions  What access right does this App will have? Source :https://docs.microsoft.com/en-us/azure/active-directory/active-directory-integrating- applications
  • 28. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 28 SM #SPEngage @pgbhoyar App registration v2.0 Create a new application https://apps.dev.microsoft.com A unique Id is created for your app Add app platform • Web App, SPA, Daemon • Native App • Web API (Office Add-in) Add permissions for admin consent flows • For delegated access for all users in the organization • For application access
  • 29. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 29 SM #SPEngage @pgbhoyar App types and permissions Users can consent for their data or admin can consent for all users Only admin can consent Delegated permissions User privileges App permissions Permission type: applicationPermission type: delegated https://developer.microsoft.com/en-us/graph/docs/concepts/permissions_reference Get access on behalf of users Get access as a service Effective permissionEffective permission
  • 30. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 30 SM #SPEngage @pgbhoyar Auth access_token MSAL or ADAL YOUR APP Your Application id_token access_token refresh_toke n Microsoft Identity
  • 31. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 31 SM #SPEngage @pgbhoyar
  • 32. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 32 SM #SPEngage @pgbhoyar Q&A
  • 33. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 33 SM #SPEngage @pgbhoyar Key Takeaways ▪ Hopefully the contents we covered today made you to explore Azure AD and you will go home and play with it ☺ ▪ Sign up for Developer Program using https://dev.office.com/ ▪ Check out Microsoft Graph APIs • https://developer.microsoft.com/en-us/graph/ ▪ Spend some time doing research before investing time to learn/explore new product/services
  • 34. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 34 SM #SPEngage @pgbhoyar References Appendix/Resources Getting Started https://azure.microsoft.com/en-us/documentation/articles/active-directory-whatis/ https://azure.microsoft.com/en-us/documentation/articles/active-directory-developers-guide/ Pricing https://azure.microsoft.com/en-us/pricing/details/active-directory/
  • 35. WithumSmith+Brown, PC | BE IN A POSITION OF STRENGTH 35 SM #SPEngage @pgbhoyar Questions? Feedback? Contact me: ▪ Email: pgbhoyar@gmail.com ▪ Twitter: @PGBhoyar ▪ Blog: http://pgbhoyar.com ▪ LinkedIn: https://www.linkedin.com/in/prashant-g-bhoyar-3008587/ ▪ Slides: https://www.slideshare.net/pgbhoyar ▪ Feedback : Please provide feedback ▪ Email or ▪ Anonymous Suggestions: https://www.suggestionox.com/r/pgb Thank You Organizers, Sponsors and You for Making this Possible.