Search Results for

    Show / Hide Table of Contents

    Class PnPCoreOptions

    Options for configuring PnP Core SDK

    Inheritance
    System.Object
    PnPCoreOptions
    Namespace: PnP.Core.Services.Builder.Configuration
    Assembly: PnP.Core.dll
    Syntax
    public class PnPCoreOptions : object

    Properties

    AADTenantId

    AAD tenant id, used for telemetry purposes. Can be customized via configuration

    Declaration
    public Guid AADTenantId { get; set; }
    Property Value
    Guid

    AzureADLoginAuthority

    Returns the Azure AD Login authority (e.g. login.microsoftonline.com) to use when Environment is set to Custom

    Declaration
    public string AzureADLoginAuthority { get; set; }
    Property Value
    System.String

    DefaultAuthenticationProvider

    The default Authentication Provider for the sites

    Declaration
    public IAuthenticationProvider DefaultAuthenticationProvider { get; set; }
    Property Value
    IAuthenticationProvider

    DisableTelemetry

    Turns on/off telemetry, can be customized via configuration. Defaults to false.

    Declaration
    public bool DisableTelemetry { get; set; }
    Property Value
    System.Boolean

    Environment

    The Microsoft 365 cloud environment that's used

    Declaration
    public string Environment { get; set; }
    Property Value
    System.String

    HttpRequests

    The global HTTP requests settings

    Declaration
    public PnPCoreHttpRequestsOptions HttpRequests { get; set; }
    Property Value
    PnPCoreHttpRequestsOptions

    MicrosoftGraphAuthority

    Returns the Microsoft Graph authority (e.g. graph.microsoft.com) to use when Environment is set to Custom

    Declaration
    public string MicrosoftGraphAuthority { get; set; }
    Property Value
    System.String

    PnPContext

    The global PnPContext options

    Declaration
    public PnPCoreContextOptions PnPContext { get; set; }
    Property Value
    PnPCoreContextOptions

    Sites

    The sites options

    Declaration
    public PnPCoreSitesOptions Sites { get; }
    Property Value
    PnPCoreSitesOptions

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer