Class PnPCoreOptions
Options for configuring PnP Core SDK
Inherited Members
Namespace: PnP.Core.Services.Builder.Configuration
Assembly: PnP.Core.dll
Syntax
public class PnPCoreOptions
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
| 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
| bool |
Environment
The Microsoft 365 cloud environment that's used
Declaration
public string Environment { get; set; }
Property Value
| 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
| 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 |