Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionObjects
Outcome:
Run at:
9/9/2019 8:36:48 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-09 20:36:48.8576	[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-09-09 20:36:48.9986	[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-09-09 20:36:49.1636	[Site Security]	[9]	[Debug]	Code execution scope started	0ms	baf20af1-115b-4319-8dd9-e0f6a3ebaacb
vstest.console.exe Information: 0 : 2019-09-09 20:36:49.2436	[Site Security]	[9]	[Debug]	Code execution scope ended	80ms	baf20af1-115b-4319-8dd9-e0f6a3ebaacb
vstest.console.exe Information: 0 : 2019-09-09 20:36:49.2556	[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