-
Notifications
You must be signed in to change notification settings - Fork 366
/
Copy pathApp.config.sample
84 lines (77 loc) · 3.7 KB
/
App.config.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="pnp">
<section
name="tracing"
type="OfficeDevPnP.Core.Diagnostics.LogConfigurationTracingSection, OfficeDevPnP.Core"
allowLocation="true"
allowDefinition="Everywhere"
/>
</sectionGroup>
<!-- Other <section> and <sectionGroup> elements. -->
</configSections>
<pnp>
<tracing logLevel="Debug">
<logger type="OfficeDevPnP.Core.Diagnostics.TraceLogger, OfficeDevPnP.Core, Culture=neutral, PublicKeyToken=null" />
</tracing>
</pnp>
<appSettings>
<!-- For Office 365 MT sites are https://[tenant]-admin.sharepoint.com and https://[tenant].sharepoint.com/sites/dev, for on-premises
you can any Developer site collection (e.g https://sp.contoso.com/sites.dev). For tenant administration you'll need to specify the
site collection you've marked as tenant administrator. This site collection must be in the same web app as the Developer site. See
http://blogs.msdn.com/b/vesku/archive/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom.aspx
for more details on how to setup a tenant administration site in on-premises.
-->
<add key="SPOTenantUrl" value="https://[tenant]-admin.sharepoint.com" />
<add key="SPODevSiteUrl" value="https://[tenant].sharepoint.com/sites/dev" />
<add key="SPOCredentialManagerLabel" value=""/>
<!-- If the above value is specified, a lookup will be done to the Windows Credential
manager for a -Windows- Credential that maps to the label. If not specified, it assumes you want to specify on
of the below options. Value will be taken based on the what's entered in this order:
1. O365 username/pwd
2. On-premises username/pwd
3. App only (O365 & On-premises)
-->
<!-- Priority 1: For testing against Office 365 provide a username and password -->
<add key="SPOUserName" value="user@[tenant].onmicrosoft.com" />
<add key="SPOPassword" value="" />
<!-- Priority 2: For testing against on-premises provide a username, domain and password -->
<add key="OnPremUserName" value="user" />
<add key="OnPremDomain" value="domain" />
<add key="OnPremPassword" value="" />
<!-- Priority 3: For app only testing provide a realm, app id and app secret -->
<add key="Realm" value="a6623c9e-30c7-493b-87bc-d907df44a26e" />
<add key="AppId" value="b5bdf20c-2917-5178-3309-5deb57ee6c89" />
<add key="AppSecret" value="" />
<!-- Permission XML for app only test
<AppPermissionRequests AllowAppOnlyPolicy="true" >
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
<AppPermissionRequest Scope="http://sharepoint/taxonomy" Right="Write" />
<AppPermissionRequest Scope="http://sharepoint/search" Right="QueryAsUserIgnoreAppPrincipal" />
<AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="FullControl" />
</AppPermissionRequests>
-->
<!-- Support for Azure based testing -->
<add key="AzureStorageKey" value="" />
<!--Testing for Webhook test endpoint-->
<add key="WebHookTestUrl" value="https://[test-functions].azurewebsites.net" />
</appSettings>
<system.diagnostics>
<sharedListeners>
<add name="console" type="System.Diagnostics.ConsoleTraceListener" />
</sharedListeners>
<sources>
<source name="OfficeDevPnP.Core" switchValue="Verbose" >
<listeners>
<add name="console" />
</listeners>
</source>
</sources>
<trace indentsize="0" autoflush="true">
<listeners>
<add name="console" />
</listeners>
</trace>
</system.diagnostics>
</configuration>