Skip to main content

 none
Unable to create a Tenant RRS feed

  • Question

  • azsphere tenant create --force --name gbp
    error: Failed to create an Azure Sphere tenant with name 'gbp'.
    Trace ID: e6cd2da9-5d8f-4ade-8557-33554c46764e
    error: An unexpected problem occurred. Please try again; if the issue persists, please refer to aka.ms/azurespheresupport for troubleshooting suggestions and support.
    error: Command failed in 00:00:34.8526429.
    Saturday, November 16, 2019 11:55 AM

All replies

  • azsphere tenant create -v -f -n "gbp"
    Azure Sphere Utility version 19.5.4.53731
    Copyright (C) Microsoft Corporation. All rights reserved.

    Start time (UTC): Saturday, 16 November 2019 12:09:25
    verbose: Creating new Azure Sphere tenant with name 'gbp'.
    verbose: No Azure Sphere tenants found under the selected AAD user.
    verbose: Successfully logged in with the selected AAD user. This authentication will be used for subsequent commands.
    verbose: No SerialSlipToTunService port is set in the registry; defaulting to 56665.
    verbose: Using attached device ID 'E0B09E7B157A3DA6B926AF1B096752A6F14ED8A9FEF8B3777BD21CD403E0F0355B259CE40A5B134D33472D9351BF4AA76ACB9C4D4F89F85CC6A2BE47048C0789'.
    error: Failed to create an Azure Sphere tenant with name 'gbp'.
    Trace ID: 1fceb894-37fe-4940-89e4-acf33d916b01
    Received HTTP response: 400 (Bad Request)
    -> Endpoint: POST https://prod.core.sphere.azure.net/tenants
    -> Content Type: application/problem+json; charset=utf-8
    error: An unexpected problem occurred. Please try again; if the issue persists, please refer to aka.ms/azurespheresupport for troubleshooting suggestions and support. Trace ID: 1fceb894-37fe-4940-89e4-acf33d916b01
    Response: {
      "RequestUri": "https://prod.core.sphere.azure.net/tenants",
      "StringContent": null,
      "StatusCode": 400,
      "ReasonPhrase": "Bad Request",
      "Method": {
        "Method": "POST"
      },
      "RequestHeaders": {
        "x-open-tracing-span-traceid": [
          "1fceb894-37fe-4940-89e4-acf33d916b01"
        ],
        "User-Agent": [
          "azsphere/19.5.4.53731",
          "Microsoft.Azure.Sphere.Tools.SecurityServiceOperations/19.5.4.53731",
          "(Microsoft Windows NT 6.2.9200.0)"
        ]
      },
      "ResponseHeaders": {
        "Transfer-Encoding": [
          "chunked"
        ],
        "Request-Context": [
          "appId=cid-v1:b521a172-2c33-47a3-9b54-05ca8b9a1053"
        ],
        "Strict-Transport-Security": [
          "max-age=31536000; includeSubDomains"
        ],
        "X-Content-Type-Options": [
          "nosniff"
        ],
        "api-supported-versions": [
          "2.0"
        ],
        "api-deprecated-versions": [
          "1.0"
        ],
        "Date": [
          "Sat, 16 Nov 2019 12:10:11 GMT"
        ]
      },
      "ContentType": {
        "CharSet": "utf-8",
        "Parameters": [
          {
            "Name": "charset",
            "Value": "utf-8"
          }
        ],
        "MediaType": "application/problem+json"
      }
    }
    Microsoft.Azure.Sphere.PublicApi.Clients.Exceptions.PublicApiBadRequestException: Bad Request
       at Microsoft.Azure.Sphere.PublicApi.Clients.PublicApiClient.<CreateTenantAsync>d__33.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 Microsoft.Azure.Sphere.Tools.SecurityServiceOperations.TenantManager.<CreateAsync>d__4.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       at Microsoft.Azure.Sphere.Tools.AzSphere.TenantCreateCommand.<ExecuteAsync>d__22.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 Microsoft.Azure.Sphere.Tools.AzSphere.TenantCreateCommand.<ExecuteAsync>d__21.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 CommandLine.SuperCommand`1.<ExecuteAsync>d__0.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       at CommandLine.EntryPoint.<ExecuteAsync>d__1`2.MoveNext()
    error: Command failed in 00:00:47.7802167.
    Saturday, November 16, 2019 12:19 PM
  • Hello ganesh,

    I noticed your SDK is on version 19.5. Will it be fine to upgrade it to the latest version 19.10 , migrate your previous tenant and follow the Get started with a development kit steps?

    Let us know the results.

    Thanks!

    Monday, November 18, 2019 2:05 PM
    Moderator
  • Hi ganesh are you still blocked?

    Thanks

    Thursday, November 21, 2019 11:52 AM
    Moderator