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

Parsing of description for DelegatedResourceId & CustomerTenant ID fails on PSCore with Az.Resources 1.13.0 #61

Closed
haraldfianbakken opened this issue May 27, 2020 · 0 comments

Comments

@haraldfianbakken
Copy link
Contributor

Issue in parsing:

DelegatedResourceId = $registerOutput.description |%{$.split('"')[11]};
CustomerTenantId = $registerOutput.description |%{$
.split('"')[7]};

Description retrieved from rest:

$registerOutput.description

{"subscriptionId":"","subscriptionTenantId":"","delegationResourceId":""}

Parsing could be done with e.g. ConvertFrom-Json.

haraldfianbakken added a commit to haraldfianbakken/Azure-Lighthouse-samples that referenced this issue May 27, 2020
archunz-zz pushed a commit that referenced this issue Jun 17, 2020
@serenaz serenaz closed this as completed Oct 19, 2020
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

2 participants