Test case details
Test name:
OfficeDevPnP.Core.Tests.Authentication.AuthenticationTests.AzureADAuthFullControlPermissionTest
Outcome:
Run at:
10/11/2017 3:47:06 AM
Duration:
N/A
Error message:
Class Initialization method OfficeDevPnP.Core.Tests.Authentication.AuthenticationTests.ClassInit threw exception. System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object..
Stacktrace:
at at OfficeDevPnP.Core.Utilities.TokenHelper.GetAppOnlyAccessToken(String targetPrincipalName, String targetHost, String targetRealm) in c:\pnpbuild\Core\OfficeDevPnP.Core\Utilities\TokenHelper.cs:line 311 at OfficeDevPnP.Core.AuthenticationManager.EnsureToken(String siteUrl, String realm, String appId, String appSecret, String acsHostUrl, String globalEndPointPrefix) in c:\pnpbuild\Core\OfficeDevPnP.Core\AuthenticationManager.cs:line 236 at OfficeDevPnP.Core.AuthenticationManager.GetAppOnlyAuthenticatedContext(String siteUrl, String realm, String appId, String appSecret, String acsHostUrl, String globalEndPointPrefix) in c:\pnpbuild\Core\OfficeDevPnP.Core\AuthenticationManager.cs:line 125 at OfficeDevPnP.Core.AuthenticationManager.GetAppOnlyAuthenticatedContext(String siteUrl, String appId, String appSecret) in c:\pnpbuild\Core\OfficeDevPnP.Core\AuthenticationManager.cs:line 97 at OfficeDevPnP.Core.Tests.TestCommon.CreateContext(String contextUrl, ICredentials credentials) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\TestCommon.cs:line 308 at OfficeDevPnP.Core.Tests.TestCommon.CreateClientContext() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\TestCommon.cs:line 206 at OfficeDevPnP.Core.Tests.Authentication.AuthenticationTests.ClassInit(TestContext context) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Authentication\AuthenticationTests.cs:line 20
Console output: