Skip to content

AzDevOpsProject: Missing descriptive messages when run in verbose mode #19

@johlju

Description

@johlju

Details of the scenario you tried and the problem that is occurring

When running the resource in verbose mode there are no descriptive messages what actions are taken by the resource. There are only a lot of non-descriptive api calls.

Verbose logs showing the problem

VERBOSE: [WIN-2TKBNCAMUG8]: LCM:  [ Start  Test     ]  [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1]
VERBOSE: [WIN-2TKBNCAMUG8]:                            [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1] GET 
https://dev.azure.com/azuredevopsdsc/_apis/projects?includeCapabilities=true&api-version=6.0 with 0-byte payload
VERBOSE: [WIN-2TKBNCAMUG8]:                            [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1] 
received 22-byte response of content type application/json; charset=utf-8; api-version=6.0
VERBOSE: [WIN-2TKBNCAMUG8]:                            [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1] 
DscActionRequired='None'
VERBOSE: [WIN-2TKBNCAMUG8]: LCM:  [ End    Test     ]  [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1]  in 
5.3240 seconds.

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

AzDevOpsProject Integration_Test_EnsureGitProjectAbsent1
{
    ApiUri      = $Node.ApiUri
    Pat         = $Node.Pat
    ProjectName = 'TestGitProjectName'
    Ensure      = 'Absent'
}

Azure DevOps Server version the target node is running

Azure DevOps Services

VSTeam PowerShell modules present on the target node

n/a

The operating system the target node is running

Azure Pipelines - Microsoft Hosted Agent

Version and build of PowerShell the target node is running

n/a

Version of the DSC module that was used

Latest in main branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backlog - Mid TermBacklog - Mid TermenhancementThe issue is an enhancement request.help wantedThe issue is up for grabs for anyone in the community.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions