Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ResourceId' parameter empty string #5

Open
rodrigo-br opened this issue May 14, 2024 · 0 comments
Open

'ResourceId' parameter empty string #5

rodrigo-br opened this issue May 14, 2024 · 0 comments

Comments

@rodrigo-br
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant