Class PnPCoreOptions
- Namespace
- PnP.Core.Services.Builder.Configuration
- Assembly
- PnP.Core.dll
Options for configuring PnP Core SDK
public class PnPCoreOptions
- Inheritance
-
PnPCoreOptions
- Inherited Members
Properties
AADTenantId
AAD tenant id, used for telemetry purposes. Can be customized via configuration
public Guid AADTenantId { get; set; }
Property Value
AzureADLoginAuthority
Returns the Azure AD Login authority (e.g. login.microsoftonline.com) to use when Environment is set to Custom
public string AzureADLoginAuthority { get; set; }
Property Value
DefaultAuthenticationProvider
The default Authentication Provider for the sites
public IAuthenticationProvider DefaultAuthenticationProvider { get; set; }
Property Value
DisableTelemetry
Turns on/off telemetry, can be customized via configuration. Defaults to false.
public bool DisableTelemetry { get; set; }
Property Value
Environment
The Microsoft 365 cloud environment that's used
public string Environment { get; set; }
Property Value
HttpRequests
The global HTTP requests settings
public PnPCoreHttpRequestsOptions HttpRequests { get; set; }
Property Value
MicrosoftGraphAuthority
Returns the Microsoft Graph authority (e.g. graph.microsoft.com) to use when Environment is set to Custom
public string MicrosoftGraphAuthority { get; set; }
Property Value
PnPContext
The global PnPContext options
public PnPCoreContextOptions PnPContext { get; set; }
Property Value
Sites
The sites options
public PnPCoreSitesOptions Sites { get; }