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

Get-AzAutomationDscCompilationJobOutput #12322

Closed
nfriday opened this issue Jul 3, 2020 · 9 comments
Closed

Get-AzAutomationDscCompilationJobOutput #12322

nfriday opened this issue Jul 3, 2020 · 9 comments
Assignees
Labels
Automation customer-reported question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.

Comments

@nfriday
Copy link

nfriday commented Jul 3, 2020

Description

Get-AzAutomationDscCompilationJobOutput returns truncated summaries.

This cmdlet returns objects of type Microsoft.Azure.Commands.Automation.Model.JobStream.

The 'Summary' Property of these objects contains a truncated string, e.g.:
Credentials asset not found. To create this Credentials asset, navigate to the A...

The full summary exists in the HTTP response when viewed using -Debug

Steps to reproduce

Get-AzAutomationDscCompilationJobOutput -Id <id> -AutomationAccountName <aa_name> -ResourceGroupName <rg>

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.2
PSEdition                      Core
GitCommitId                    7.0.2
OS                             Microsoft Windows 10.0.18362
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     1.3.6                 Az.Automation                       Core,Desk {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomationDscNodeConfiguration…}  

Debug output

   
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/<REDACTED>/resourceGroups/<REDACTED>/providers/Microsoft.Automation/automationAccounts/<REDACTED>/jobs/2cbb03e7-8931-434b-bece-5dc3fdfc1291/streams?$filter=properties%2FstreamType eq %27Any%27&api-version=2017-05-15-preview

Headers:
x-ms-client-request-id        : 92f82c7e-4474-4597-8882-48599b16407c
Accept-Language               : en-US

Body:



DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
x-ms-request-id               : 92fa976a-eb9a-403f-ac09-00d71f8310ff
Strict-Transport-Security     : max-age=31536000; includeSubDomains
Server                        : Microsoft-IIS/10.0
X-AspNet-Version              : 4.0.30319
X-Powered-By                  : ASP.NET
x-ms-ratelimit-remaining-subscription-reads: 11998
x-ms-correlation-request-id   : 675f5141-f251-4a35-9aff-bd650b405414
x-ms-routing-request-id       : NORTHEUROPE:20200703T103218Z:675f5141-f251-4a35-9aff-bd650b405414
X-Content-Type-Options        : nosniff
Date                          : Fri, 03 Jul 2020 10:32:17 GMT

Body:
{
  "value": [
    {
      "id": "/subscriptions/<REDACTED>/resourceGroups/<REDACTED>/providers/Microsoft.Automation/automationAccounts/<REDACTED>/jobs/2cbb03e7-8931-434b-bece-5dc3fdfc1291/streams/2cbb03e7-8931-434b-bece-5dc3fdfc1291_00637293686318115051_00000000000000000001",
      "properties": {
        "jobStreamId": "2cbb03e7-8931-434b-bece-5dc3fdfc1291_00637293686318115051_00000000000000000001",
        "summary": "2cbb03e7-8931-434b-bece-5dc3fdfc1291:[localhost]:The 'Microsoft.PowerShell.Management' module was not imported because the 'Microsoft.PowerShell.Management' snap-in was already imported.",
        "time": "2020-07-03T11:23:51.8115051+01:00",
        "streamType": "Warning"
      }
    },
    {
      "id": "/subscriptions/<REDACTED>/resourceGroups/<REDACTED>/providers/Microsoft.Automation/automationAccounts/<REDACTED>/jobs/2cbb03e7-8931-434b-bece-5dc3fdfc1291/streams/2cbb03e7-8931-434b-bece-5dc3fdfc1291_00637293686399054318_00000000000000000002",
      "properties": {
        "jobStreamId": "2cbb03e7-8931-434b-bece-5dc3fdfc1291_00637293686399054318_00000000000000000002",
        "summary": "Credentials asset not found. To create this Credentials asset, navigate to the Assets blade and create a Credentials asset named: <REDACTED>.",
        "time": "2020-07-03T11:23:59.9054318+01:00",
        "streamType": "Error"
      }
    }
  ]
}

Error output


@nfriday nfriday added the triage label Jul 3, 2020
@ghost ghost added the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Jul 3, 2020
@triage-new-issues triage-new-issues bot removed the triage label Jul 3, 2020
@dingmeng-xue dingmeng-xue added Automation customer-reported Service Attention This issue is responsible by Azure service team. labels Jul 6, 2020
@ghost
Copy link

ghost commented Jul 6, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @zjalexander.

@dingmeng-xue
Copy link
Member

Automation team, please help to look into this question.

@vikram-m
Copy link

Product team is aware of this issue, and unfortunately because of other priorities were not able to pick this up. Please expect an update in Q4CY20.

@vikram-m
Copy link

Currently, team is busy with other high priority items and this would be picked up in CY2021 Q1.

@jaspkaur28
Copy link

This would be picked up in CY21 Q1

@jaspkaur28
Copy link

As we shared in the last comment , we are trying to prioritize it for Q1 - Feb , March timeframe.

@jaspkaur28
Copy link

Deferred to CY2021 Q4 due to other priorities.

@navba-MSFT
Copy link
Contributor

@nfriday Apologies for the late reply. We will update this thread once we have more details.

@jaspkaur28 Could you please provide an update on this ? Awaiting your reply.

@Jassingh819
Copy link
Contributor

Closed with above PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Automation customer-reported question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

8 participants