When you try to register Microsoft System Center 2012 R2 Service Provider Foundation (SPF) in the Windows Azure Pack (WAP) Service Management Portal, registration fails with the following error:
When you click the Detailsbutton, you receive the following additional message:
A message that resembles the following will also be logged in the Microsoft-WindowsAzurePack-MgmtSvc-AdminSite
Operational event log:
Log Name: Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational
Source: Microsoft-WindowsAzurePack-MgmtSvc-AdminSite
Event ID: 12
Task Category: (65522)
Level: Error
Keywords: None
User: IIS APPPOOL\MgmtSvc-AdminSite
Description:
Error:JsonException: The Service URL or credentials are not valid.
<Exception>
<Type>JsonException</Type>
<Message>The Service URL or credentials are not valid.</Message>
<StackTrace><![CDATA[
at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.<UpdateOrCreateSpfResourceProvider>d__298.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at lambda_method(Closure , Task )
at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3f.<BeginInvokeAsynchronousActionMethod>b__3e(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)]]></StackTrace>
<HttpContext>
<User IsAuthenticated="true" Name="CONTOSO\MarkStan" />
<Request>
<RawUrl>/SystemCenterAdmin/UpdateOrCreateSpfResourceProvider</RawUrl>
<UserHostAddress>fe80::6582:32d1:1a42:fcf9%12</UserHostAddress>
<Headers>
<Header Key="Cache-Control" Value="no-cache" />
<Header Key="Connection" Value="Keep-Alive" />
<Header Key="Content-Length" Value="84" />
<Header Key="Content-Type" Value="application/json" />
<Header Key="Accept" Value="application/json, text/javascript, */*; q=0.01" />
<Header Key="Accept-Encoding" Value="gzip, deflate" />
<Header Key="Accept-Language" Value="en-US" />
<Header Key="Host" Value="wap06admsrv.contoso.com:30091" />
<Header Key="Referer" Value="https://wap06admsrv.contoso.com:30091/#Workspaces/SystemCenterAdminExtension/quickStart" />
<Header Key="User-Agent" Value="Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko" />
<Header Key="x-ms-client-session-id" Value="c8048b68-b914-4666-b146-64271d627107" />
<Header Key="x-ms-client-antiforgery-id" Value="s41IOZZe8tbJWx8X1FsKT/rBCuKKLKPWhlsgfsjlqUN8SWjT2Qbh0wbsSdmSrR3Nq3Jh0RiOo3vTKrANlpNPAZRTz1vdLSI4oxPjsPhbFA15VH8rG1Lgup8gNkT8fIRMUmAMDFRGJEBlKLgLH8jaWw==" />
<Header Key="x-ms-client-request-id" Value="c8fcfacb-60e6-4e6d-ab3a-073dc64fdf74-2014-07-29 15:46:42Z" />
<Header Key="X-Requested-With" Value="XMLHttpRequest" />
<Cookies>
<Cookie Name="sub" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (4 characters)" />
<Cookie Name="__RequestVerificationToken_Admin" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (128 characters)" />
<Cookie Name="AdminSiteFedAuth" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (2000 characters)" />
<Cookie Name="AdminSiteFedAuth1" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (396 characters)" />
</Cookies>
</Headers>
</Request>
</HttpContext>
</Exception>, operationName:SystemCenterAdmin.UpdateOrCreateSpfResourceProvider, version:, accept language:en-US, subscription Id:, client request Id:c8fcfacb-60e6-4e6d-ab3a-073dc64fdf74-2014-07-29 15:46:42Z, principal Id:CONTOSO\MarkStan, page request Id:c8048b68-b914-4666-b146-64271d627107, server request id:
There was an error registering System Center Service Provider Foundation.
When you click the Detailsbutton, you receive the following additional message:
The Service URL or credentials are not valid
A message that resembles the following will also be logged in the Microsoft-WindowsAzurePack-MgmtSvc-AdminSite
Operational event log:
Log Name: Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational
Source: Microsoft-WindowsAzurePack-MgmtSvc-AdminSite
Event ID: 12
Task Category: (65522)
Level: Error
Keywords: None
User: IIS APPPOOL\MgmtSvc-AdminSite
Description:
Error:JsonException: The Service URL or credentials are not valid.
<Exception>
<Type>JsonException</Type>
<Message>The Service URL or credentials are not valid.</Message>
<StackTrace><![CDATA[
at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.<UpdateOrCreateSpfResourceProvider>d__298.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at lambda_method(Closure , Task )
at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3f.<BeginInvokeAsynchronousActionMethod>b__3e(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)]]></StackTrace>
<HttpContext>
<User IsAuthenticated="true" Name="CONTOSO\MarkStan" />
<Request>
<RawUrl>/SystemCenterAdmin/UpdateOrCreateSpfResourceProvider</RawUrl>
<UserHostAddress>fe80::6582:32d1:1a42:fcf9%12</UserHostAddress>
<Headers>
<Header Key="Cache-Control" Value="no-cache" />
<Header Key="Connection" Value="Keep-Alive" />
<Header Key="Content-Length" Value="84" />
<Header Key="Content-Type" Value="application/json" />
<Header Key="Accept" Value="application/json, text/javascript, */*; q=0.01" />
<Header Key="Accept-Encoding" Value="gzip, deflate" />
<Header Key="Accept-Language" Value="en-US" />
<Header Key="Host" Value="wap06admsrv.contoso.com:30091" />
<Header Key="Referer" Value="https://wap06admsrv.contoso.com:30091/#Workspaces/SystemCenterAdminExtension/quickStart" />
<Header Key="User-Agent" Value="Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko" />
<Header Key="x-ms-client-session-id" Value="c8048b68-b914-4666-b146-64271d627107" />
<Header Key="x-ms-client-antiforgery-id" Value="s41IOZZe8tbJWx8X1FsKT/rBCuKKLKPWhlsgfsjlqUN8SWjT2Qbh0wbsSdmSrR3Nq3Jh0RiOo3vTKrANlpNPAZRTz1vdLSI4oxPjsPhbFA15VH8rG1Lgup8gNkT8fIRMUmAMDFRGJEBlKLgLH8jaWw==" />
<Header Key="x-ms-client-request-id" Value="c8fcfacb-60e6-4e6d-ab3a-073dc64fdf74-2014-07-29 15:46:42Z" />
<Header Key="X-Requested-With" Value="XMLHttpRequest" />
<Cookies>
<Cookie Name="sub" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (4 characters)" />
<Cookie Name="__RequestVerificationToken_Admin" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (128 characters)" />
<Cookie Name="AdminSiteFedAuth" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (2000 characters)" />
<Cookie Name="AdminSiteFedAuth1" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (396 characters)" />
</Cookies>
</Headers>
</Request>
</HttpContext>
</Exception>, operationName:SystemCenterAdmin.UpdateOrCreateSpfResourceProvider, version:, accept language:en-US, subscription Id:, client request Id:c8fcfacb-60e6-4e6d-ab3a-073dc64fdf74-2014-07-29 15:46:42Z, principal Id:CONTOSO\MarkStan, page request Id:c8048b68-b914-4666-b146-64271d627107, server request id: