Table of contents
TOC
Collapse the table of content
Expand the table of content

TimerJob.UseAzureADAppOnlyAuthentication Method

SharePoint Dev Documents|Last Updated: 5/19/2017
|
1 Contributor

Prepares the timerjob to operate against SharePoint Only with Azure AD app-only credentials. Sets AuthenticationType to AuthenticationType.AzureADAppOnly

Namespace:OfficeDevPnP.Core.Framework.TimerJobs
Assembly: OfficeDevPnP.Core.dll

Syntax

public void UseAzureADAppOnlyAuthentication(String clientId, String azureTenant, String certificatePath, SecureString certificatePassword)

Parameters

clientId

  Type: System.String
  Client ID of the app

azureTenant

  Type: System.String
  The Azure tenant name, like contoso.com

certificatePath

  Type: System.String
  The path to the *.pfx certicate file

certificatePassword

  Type: System.Security.SecureString
  The password to the certificate

Return Value

Type: void

See also

© 2018 Microsoft