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-TppObject returns unexpected ParentPath #166

Closed
wilddev65 opened this issue Nov 14, 2022 · 0 comments · Fixed by #167
Closed

Get-TppObject returns unexpected ParentPath #166

wilddev65 opened this issue Nov 14, 2022 · 0 comments · Fixed by #167
Assignees
Labels
bug Something isn't working

Comments

@wilddev65
Copy link
Collaborator

wilddev65 commented Nov 14, 2022

I am using Get-TppObject to obtain details about the Consumers associated with a certificate. One of the devices returns the wrong Parent Path:
Name : Test2
Path : \VED\Policy\Certificates\vndcdfxphpovd04.company.com\iLO Devices\Test2\Test2
TypeName : Adaptable App
Guid : e2dba066-5eae-4269-ad9b-333c9285b198
ParentPath : \VED\Policy\Certificates\vndcdfxphpovd04.company.com\iLO Devices

Name : test
Path : \VED\Policy\Certificates\vndcdfxphpovd04.company.com\iLO Devices\Test\test
TypeName : Adaptable App
Guid : ffe1e725-7ffd-4111-a84b-0ab893faf542
ParentPath : \VED\Policy\Certificates\vndcdfxphpovd04.company.com\iLO Devices\Test

Test2's Parent Path should be '\VED\Policy\Certificates\vndcdfxphpovd04.company.com\iLO Devices\Test2'.

If I query the API directly with Postman using Config/isValid the Test2 Adaptable App returns;
{
"Object": {
"AbsoluteGUID": "{cbf33d76-b742-4ad0-966f-7172bf3028c7}{6ecb566c-bf3d-4b1a-9a66-5b2fe2f5a69a}{b5f1c7a4-f27c-4a14-949f-9ba5367b3600}{d7a95a41-36d1-4426-bbe4-db65db4eae69}{ce5f7ef1-8f61-491c-96b0-ea77e5490b50}{1d98d377-c095-4731-8590-49d423fdbc6d}{e2dba066-5eae-4269-ad9b-333c9285b198}",
"DN": "\VED\Policy\Certificates\vndcdfxphpovd04.company.com\iLO Devices\Test2\Test2",
"Disabled": true,
"GUID": "{e2dba066-5eae-4269-ad9b-333c9285b198}",
"Id": 303313,
"Name": "Test2",
"Parent": "\VED\Policy\Certificates\vndcdfxphpovd04.company.com\iLO Devices\Test2",
"Revision": 636740241852285653,
"TypeName": "Adaptable App"
},
"Result": 1
}

This suggests that TPP sees the Parent Path correctly.

@gdbarron gdbarron self-assigned this Nov 16, 2022
@gdbarron gdbarron added the bug Something isn't working label Nov 16, 2022
gdbarron added a commit that referenced this issue Nov 16, 2022
gdbarron added a commit that referenced this issue Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants