Test case details
Test name:
Microsoft.SharePoint.Client.Tests.WebExtensionsTests.RemoveAppInstanceByTitleTest
Outcome:
Run at:
9/15/2020 8:54:17 PM
Duration:
00:00:01
Error message:
Test method Microsoft.SharePoint.Client.Tests.WebExtensionsTests.RemoveAppInstanceByTitleTest 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.RemoveAppInstanceByTitleTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\WebExtensionsTests.cs:line 607
Console output:
    

Debug Trace:
vstest.console.exe Information: 0 : 2020-09-15 20:54:17.5428	[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-09-15 20:54:17.6834	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/16/2020 8:54:17 PM	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:54:17.7147	[OfficeDevPnP.Core]	[0]	[Information]	Activating feature ae3a1339-61f5-4f8f-81a7-abd2da956a7d in web.	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:54:17.7459	[OfficeDevPnP.Core]	[0]	[Information]	Feature activation for ae3a1339-61f5-4f8f-81a7-abd2da956a7d returned success.	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:54:17.7771	[Content Types (ListAndStandardFields)]	[9]	[Debug]	Code execution scope started	0ms	f8d7c384-c081-4aa7-86d6-e6f1985a5968
vstest.console.exe Information: 0 : 2020-09-15 20:54:18.8552	[Content Types (ListAndStandardFields)]	[9]	[Debug]	Creating new Content Type: 0x010100503B9E20E5455344BFAC2292DC6FAB81 - PnP Test Content Type	1078ms	f8d7c384-c081-4aa7-86d6-e6f1985a5968
vstest.console.exe Information: 0 : 2020-09-15 20:54:18.8552	[OfficeDevPnP.Core]	[0]	[Information]	Creating content type 'PnP Test Content Type' (0x010100503B9E20E5455344BFAC2292DC6FAB81).	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:54:19.0584	[Content Types (ListAndStandardFields)]	[9]	[Debug]	Code execution scope ended	1294ms	f8d7c384-c081-4aa7-86d6-e6f1985a5968
vstest.console.exe Error: 0 : 2020-09-15 20:54:19.1052	[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: 8d5b7a9f-154d-4047-f1f8-6de8ff78093c
ServerErrorValue: 
ServerErrorDetails: 
.	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:54:19.1052	[OfficeDevPnP.Core]	[0]	[Information]	Deactivating feature ae3a1339-61f5-4f8f-81a7-abd2da956a7d in web.	0ms	
vstest.console.exe Error: 0 : 2020-09-15 20:54:19.1209	[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: 8d5b7a9f-154e-4047-f1f8-60cd51e14543
ServerErrorValue: 
ServerErrorDetails: 
.	0ms	
vstest.console.exe Error: 0 : 2020-09-15 20:54:19.1209	[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