Connecting to SharePoint Online from console application with Azure ADAL and PnP Core Component

Download this episode

Download Video

Description

This video shows how to take advantage of the Active Directory Authentication Library (ADAL) and Office Dev PnP Core component to connect to SharePoint online using the common consent framework.You can absolutely use also classic ClientContext model with SharePointOnlineCredentials or with app only tokes for getting permission to SharePoint Online. This video shows an alternative and how easily you can gain access to SharePoint Online using the ADAL library and PnP Core Component. 

Video covers following topics

  • Needed configuration in Azure Active Directory to create native client application entry
  • Add needed Nuget packages to your Visual Studio project - ADAL and PnP Core Component
  • Add few lines of code with client id and redirect URL defined for the application entry in the Azure AD to get the SharePoint context object ot start manipulating information in SharePoint Online

Video will be accomplished with short blog post sooner or later to document the needed steps also in writing. 

Notice. This code is NOT available for download, since after associating the right Nuget Packages, you can get the SharePoint context with just one using statement due the abstraction available from the PnP Core component.

 

 


If you have any feedback or comments related on this web cast, please use the Office 365 Developer Patterns and Practices Yammer group to provider your input. Thx for your interest advance.

Generic Episode Image

Tags:

Azure, SharePoint

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.