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

Update Get-AzDelegatedSubscription.ps1 #30

Merged
merged 1 commit into from
Aug 28, 2019
Merged

Update Get-AzDelegatedSubscription.ps1 #30

merged 1 commit into from
Aug 28, 2019

Conversation

bgelens
Copy link
Contributor

@bgelens bgelens commented Aug 28, 2019

refactored a bit:

  • No begin, process, end as there is no pipelineinput.
  • Fetch a fresh token as tokencache is potentially expired
  • Used Invoke-RestMethod as it handles conversion from JSON

Please test it out as I don't have any delegated subs :)

refactored a bit:
* No begin, process, end as there is no pipelineinput.
* Fetch a fresh token as tokencache is potentially expired
* Used Invoke-RestMethod as it handles conversion from JSON

Please test it out as I don't have any delegated subs :)
@krnese krnese merged commit 4417964 into Azure:master Aug 28, 2019
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

Successfully merging this pull request may close these issues.

3 participants