Skip to content

Commit c5472f2

Browse files
3.5.4
1 parent 254879f commit c5472f2

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

Automation/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ The line must contain the following parameters:
133133
````
134134
-TenantID
135135
-SkipDiagram
136+
-SkipAPIs
136137
-Automation
137138
-StorageAccount
138139
-StorageContainer

AzureResourceInventory.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AzureResourceInventory.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '3.5.3'
15+
ModuleVersion = '3.5.4'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

AzureResourceInventory.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@
6464
Official Repository: https://github.com/microsoft/ARI
6565
#>
6666
Function Invoke-ARI {
67-
param ([ValidateSet('AzureCloud', 'AzureUSGovernment')]
67+
param ([ValidateSet('AzureCloud', 'AzureUSGovernment','AzureChinaCloud')]
6868
$AzureEnvironment = 'AzureCloud',
6969
[ValidateSet(1, 2, 3)]
7070
$Overview = 1,
7171
$TenantID,
7272
$AppId,
73-
[Security.SecureString]$Secret,
74-
$SubscriptionID,
73+
$Secret,
74+
[String[]]$SubscriptionID,
7575
$ManagementGroup,
7676
[string[]]$ResourceGroup,
7777
$TagKey,

Modules/Core/ARILoginSession.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ https://github.com/microsoft/ARI/Core/Connect-LoginSession.psm1
1212
This powershell Module is part of Azure Resource Inventory (ARI)
1313
1414
.NOTES
15-
Version: 4.0.1
15+
Version: 4.0.2
1616
First Release Date: 15th Oct, 2024
1717
Authors: Claudio Merola
1818
@@ -99,7 +99,7 @@ function Connect-ARILoginSession {
9999
}
100100
elseif($AppId -and $Secret -and $TenantID)
101101
{
102-
$SecurePassword = ConvertTo-SecureString -String $Secret
102+
$SecurePassword = ConvertTo-SecureString -String $Secret -AsPlainText
103103
$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $AppId, $SecurePassword
104104
Connect-AzAccount -ServicePrincipal -TenantId $TenantId -Credential $Credential
105105
}

0 commit comments

Comments
 (0)