Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionObjects
Outcome:
Run at:
9/10/2019 7:26:40 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-09-10 19:26:40.7040	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2019.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:0d136bf4-ab18-488b-8808-84d1818dfad5,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-09-10 19:26:40.8520	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2019.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:0d136bf4-ab18-488b-8808-84d1818dfad5,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-09-10 19:26:40.9990	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/11/2019 3:26:33 AM	0ms	
vstest.console.exe Information: 0 : 2019-09-10 19:26:41.0120	[Site Security]	[9]	[Debug]	Code execution scope started	0ms	5d51aa39-9843-4b38-8d8c-0f3c671e8b12
vstest.console.exe Information: 0 : 2019-09-10 19:26:41.1090	[Site Security]	[9]	[Debug]	Code execution scope ended	96ms	5d51aa39-9843-4b38-8d8c-0f3c671e8b12
vstest.console.exe Information: 0 : 2019-09-10 19:26:41.1230	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2019.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:0d136bf4-ab18-488b-8808-84d1818dfad5,appSecret:PRIVATE)	0ms