Test case details
Test name:
Microsoft.SharePoint.Client.Tests.WebExtensionsTests.GetAppInstancesTest
Outcome:
Run at:
11/6/2019 8:37:47 PM
Duration:
00:00:01
Error message:
Test method Microsoft.SharePoint.Client.Tests.WebExtensionsTests.GetAppInstancesTest threw exception: Microsoft.SharePoint.Client.ServerException: Sideloading of apps is not enabled on this site.
Stacktrace:
at at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb) at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery() at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 173 at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 93 at Microsoft.SharePoint.Client.Tests.WebExtensionsTests.GetAppInstancesTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\WebExtensionsTests.cs:line 582
Console output:
    

Debug Trace:
vstest.console.exe Information: 0 : 2019-11-06 20:37:47.9559	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2013.pnp.com/sites/pnptest2,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a7ec4f8f-275b-4ea6-be14-0ae5330128a2,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-11-06 20:37:48.0299	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 11/7/2019 4:36:45 AM	0ms	
vstest.console.exe Information: 0 : 2019-11-06 20:37:48.0849	[OfficeDevPnP.Core]	[0]	[Information]	Activating feature ae3a1339-61f5-4f8f-81a7-abd2da956a7d in web.	0ms	
vstest.console.exe Information: 0 : 2019-11-06 20:37:48.1109	[OfficeDevPnP.Core]	[0]	[Information]	Feature activation for ae3a1339-61f5-4f8f-81a7-abd2da956a7d returned success.	0ms	
vstest.console.exe Information: 0 : 2019-11-06 20:37:48.1449	[Content Types (ListAndStandardFields)]	[9]	[Debug]	Code execution scope started	0ms	1bdee378-2a61-4acc-9faa-757006f36e12
vstest.console.exe Information: 0 : 2019-11-06 20:37:49.0729	[Content Types (ListAndStandardFields)]	[9]	[Debug]	Creating new Content Type: 0x010100503B9E20E5455344BFAC2292DC6FAB81 - PnP Test Content Type	927ms	1bdee378-2a61-4acc-9faa-757006f36e12
vstest.console.exe Information: 0 : 2019-11-06 20:37:49.0729	[OfficeDevPnP.Core]	[0]	[Information]	Creating content type 'PnP Test Content Type' (0x010100503B9E20E5455344BFAC2292DC6FAB81).	0ms	
vstest.console.exe Information: 0 : 2019-11-06 20:37:49.3279	[Content Types (ListAndStandardFields)]	[9]	[Debug]	Code execution scope ended	1182ms	1bdee378-2a61-4acc-9faa-757006f36e12
vstest.console.exe Information: 0 : 2019-11-06 20:37:49.3979	[OfficeDevPnP.Core]	[0]	[Information]	Deactivating feature ae3a1339-61f5-4f8f-81a7-abd2da956a7d in web.	0ms	
vstest.console.exe Error: 0 : 2019-11-06 20:37:49.4139	[OfficeDevPnP.Core]	[0]	[Error]	Problem with activation for feature id ae3a1339-61f5-4f8f-81a7-abd2da956a7d. Error = Feature 'ae3a1339-61f5-4f8f-81a7-abd2da956a7d' is not activated at this scope.	0ms