Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using Azure Active Directory Authentication with your SharePoint Add-Ins for Office 365.

Similar presentations


Presentation on theme: "Using Azure Active Directory Authentication with your SharePoint Add-Ins for Office 365."— Presentation transcript:

1 Using Azure Active Directory Authentication with your SharePoint Add-Ins for Office 365

2 Product Owner Transformation Tooling Both Dutch and Swedish nationality 20+ years of industry experience Living in Stockholm, Sweden MCSM, MCM, MVP, MCSE, MCSD, MCSA, MCPD, MCITP, MCTS Office Developer PnP Core Team Member erwin.van.hunen@rencore.com @erwinvanhunen se.linkedin.com/in/erwinvanhunen @ ME

3

4 Why use Active Directory Authentication?  Centralize authorization  Off-load the decision making process to admins (they will like that )  Future proof your code  We are heading more and more towards Azure AD when it comes to AuthN and AuthZ

5

6 PnP Core?  Open Source Library  Helper classes  Extensions methods  Increases developer productivity

7 aka.ms/OfficeDevPnP

8

9 Get your app ready  Decide on the type of auth  Configure your AzureAD  Optionally create certificate  Install Nuget Packages  OfficeDevPnP  Microsoft.IdentityModel.Clients.ActiveDirectory

10 The easiest  Open the Azure AD management portal  Add an application your organization is developing  Copy clientid and redirect url

11 Demo

12 A bit more work…  Open the Azure AD management portal  Create a certificate  Add an application your organization is developing  Modify the manifest  Copy clientid and keep PFX file at hand

13 Demo

14 Comparing Simple to setup Initial user interaction required Requires token cache to smoothen experience A bit more complex to setup Certificate expiration No need for token cache Smoother end-user experience App Only with User AuthApp Only with Certificate

15 More info Blogs: http://www.erwinmcm.com/azure-active-directory-authentication-with-officedev-pnp- powershell/ http://www.erwinmcm.com/azure-active-directory-app-only-authentication-with- officedev-pnp-powershell/ http://blogs.msdn.com/b/vesku/archive/2016/02/15/connecting-to-sharepoint-online- from-console-application-with-adal-and-pnp-core-component.aspx Video https://channel9.msdn.com/blogs/OfficeDevPnP/Connecting-to-SharePoint-Online- from-console-application-with-Azure-AD-and-PnP-Core-Component

16 Questions?

17 Thank you!


Download ppt "Using Azure Active Directory Authentication with your SharePoint Add-Ins for Office 365."

Similar presentations


Ads by Google