Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionObjects
Outcome:
Run at:
7/11/2019 7:32:25 PM
Duration:
00:00:00
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionObjects threw exception: Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException: The property or field 'Title' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
Stacktrace:
at at Microsoft.SharePoint.Client.ClientObject.CheckUninitializedProperty(String propName) at Microsoft.SharePoint.Client.Principal.get_Title() at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectSiteSecurity.AddUserToGroup(Web web, Group group, IEnumerable`1 members, PnPMonitoredScope scope, TokenParser parser) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectSiteSecurity.cs:line 660 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectSiteSecurity.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectSiteSecurity.cs:line 254 at OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionObjects() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\ObjectHandlers\ObjectSiteSecurityTests.cs:line 248
Console output:
    

Debug Trace:
vstest.console.exe Information: 0 : 2019-07-11 19:32:25.9504	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2016.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:9ff790d6-1175-4abc-9891-8ed32d12b06a,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-07-11 19:32:26.1065	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2016.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:9ff790d6-1175-4abc-9891-8ed32d12b06a,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-07-11 19:32:26.2784	[Site Security]	[9]	[Debug]	Code execution scope started	0ms	0d07e5cf-59aa-4412-bc6f-ec7d3e6aca05
vstest.console.exe Information: 0 : 2019-07-11 19:32:26.3721	[Site Security]	[9]	[Debug]	Code execution scope ended	82ms	0d07e5cf-59aa-4412-bc6f-ec7d3e6aca05
vstest.console.exe Information: 0 : 2019-07-11 19:32:26.3721	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2016.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:9ff790d6-1175-4abc-9891-8ed32d12b06a,appSecret:PRIVATE)	0ms