Skip to content

Commit

Permalink
fix: automation account location
Browse files Browse the repository at this point in the history
  • Loading branch information
jformacek committed Feb 21, 2024
1 parent 14547f8 commit 53aba7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Module/AutomationAccount/AutomationAccount.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function Connect-AutoAutomationAccount
$script:AutomationAccountResourceId = "$($subscriptionObject.id)/resourceGroups/$ResourceGroup/providers/Microsoft.Automation/automationAccounts/$AutomationAccount"

$headers = Get-AutoAccessToken -AsHashTable
$uri = "https://management.azure.com$AutomationAccountResourceId`?api-version=2023-11-01"
$uri = "https://management.azure.com$($script:AutomationAccountResourceId)`?api-version=2023-11-01"
$rslt = Invoke-RestMethod `
-Uri $uri `
-Headers $headers `
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "Manage-AutomationAccount",
"name": "Manage-AutomationAccount",
"version": "1.9.35",
"version": "1.9.36",
"publisher": "GreyCorbelSolutions",
"targets": [
{
Expand Down

0 comments on commit 53aba7e

Please sign in to comment.