Test case details
Test name:
Microsoft.SharePoint.Client.Tests.WebExtensionsTests.GetAppInstancesTest
Outcome:
Run at:
11/20/2020 8:56:46 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 253 at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 97 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 : 2020-11-20 20:56:46.8666	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2013.pnp.com/sites/pnptest2,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:8fb8ffde-5f4c-4336-aaf8-092555d72122,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2020-11-20 20:56:46.9448	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 11/21/2020 8:56:46 PM	0ms	
vstest.console.exe Information: 0 : 2020-11-20 20:56:46.9917	[OfficeDevPnP.Core]	[0]	[Information]	Activating feature ae3a1339-61f5-4f8f-81a7-abd2da956a7d in web.	0ms	
vstest.console.exe Information: 0 : 2020-11-20 20:56:47.0072	[OfficeDevPnP.Core]	[0]	[Information]	Feature activation for ae3a1339-61f5-4f8f-81a7-abd2da956a7d returned success.	0ms	
vstest.console.exe Information: 0 : 2020-11-20 20:56:47.0385	[Content Types (ListAndStandardFields)]	[9]	[Debug]	Code execution scope started	0ms	fb7575a5-1326-4f94-9047-4977be405f47
vstest.console.exe Information: 0 : 2020-11-20 20:56:48.1479	[Content Types (ListAndStandardFields)]	[9]	[Debug]	Creating new Content Type: 0x010100503B9E20E5455344BFAC2292DC6FAB81 - PnP Test Content Type	1108ms	fb7575a5-1326-4f94-9047-4977be405f47
vstest.console.exe Information: 0 : 2020-11-20 20:56:48.1479	[OfficeDevPnP.Core]	[0]	[Information]	Creating content type 'PnP Test Content Type' (0x010100503B9E20E5455344BFAC2292DC6FAB81).	0ms	
vstest.console.exe Information: 0 : 2020-11-20 20:56:48.3822	[Content Types (ListAndStandardFields)]	[9]	[Debug]	Code execution scope ended	1343ms	fb7575a5-1326-4f94-9047-4977be405f47
vstest.console.exe Error: 0 : 2020-11-20 20:56:48.4291	[OfficeDevPnP.Core]	[0]	[Error]	ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: Sideloading of apps is not enabled on this site.
   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 169
ServerErrorCode: -2146232832
ServerErrorTypeName: Microsoft.SharePoint.SPException
ServerErrorTraceCorrelationId: ed998f9f-d541-4047-f1f8-62b3af0744e7
ServerErrorValue: 
ServerErrorDetails: 
.	0ms	
vstest.console.exe Information: 0 : 2020-11-20 20:56:48.4447	[OfficeDevPnP.Core]	[0]	[Information]	Deactivating feature ae3a1339-61f5-4f8f-81a7-abd2da956a7d in web.	0ms	
vstest.console.exe Error: 0 : 2020-11-20 20:56:48.4604	[OfficeDevPnP.Core]	[0]	[Error]	ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: Feature 'ae3a1339-61f5-4f8f-81a7-abd2da956a7d' is not activated at this scope.
   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 169
ServerErrorCode: -1
ServerErrorTypeName: System.InvalidOperationException
ServerErrorTraceCorrelationId: ed998f9f-c543-4047-f1f8-67f322b78695
ServerErrorValue: 
ServerErrorDetails: 
.	0ms	
vstest.console.exe Error: 0 : 2020-11-20 20:56:48.4604	[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