Skip to content

'ResourceId' parameter empty string #5

@rodrigo-br

Description

@rodrigo-br

It is not possible to associate the argument with the 'ResourceId' parameter because it is an empty string.

MODO DETALHADO: Successfully connected with account xxxxxxxx to subscription xxxxxxxxx
MODO DETALHADO: [Debug]Invoke-AzRestMethod started with params
[@{Path=/subscriptions/xxxxxxxx /resourceGroups/xxxxxxxx /providers/Microsoft.Automation/automation
Accounts/xxxxxxxx /linkedWorkspace?api-version=2022-08-08; Method=GET}]. Retry: 1.3
MODO DETALHADO: [Debug]Invoke-AzRestMethod with params
[@{Path=/subscriptions/xxxxxxxx /resourceGroups/xxxxxxxx /providers/Microsoft.Automation/automation
Accounts/xxxxxxxx /linkedWorkspace?api-version=2022-08-08; Method=GET}] succeeded. Output: [@{StatusCode=200; Content={
  "id": null
}; Headers=System.Object[]; Method=GET;
RequestUri=https://management.azure.com/subscriptions/xxxxxxxx /resourceGroups/xxxxxxxx /providers/
Microsoft.Automation/automationAccounts/xxxxxxxx /linkedWorkspace?api-version=2022-08-08; Version=1.1}].
Write-Telemetry : Unhandled exception Não é possível associar o argumento ao parâmetro 'ResourceId' porque ele é uma cadeia de
caracteres vazia..
No C:\Users\xxxxxxxx \Desktop\MigrationPrerequisites.ps1:594 caractere:9
+         Write-Telemetry -Message ("Unhandled exception {0}." -f, $_.E ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Telemetry

Write-Telemetry : Unhandled Exception Não é possível associar o argumento ao parâmetro 'ResourceId' porque ele é uma cadeia de
caracteres vazia..
No C:\Users\xxxxxxxx \Desktop\MigrationPrerequisites.ps1:1252 caractere:5
+     Write-Telemetry -Message ("Unhandled Exception {0}." -f $_.Except ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Telemetry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions