Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionObjects
Outcome:
Run at:
9/10/2019 8:37:06 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 20:37:06.7405	[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-10 20:37:06.8815	[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-10 20:37:07.0385	[Site Security]	[9]	[Debug]	Code execution scope started	0ms	988432ea-325c-4d10-924c-9eddb68a8f1e
vstest.console.exe Information: 0 : 2019-09-10 20:37:07.1136	[Site Security]	[9]	[Debug]	Code execution scope ended	75ms	988432ea-325c-4d10-924c-9eddb68a8f1e
vstest.console.exe Information: 0 : 2019-09-10 20:37:07.1265	[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